nm_netplan.py autopkgtest fails with ModuleNotFoundError: No module named 'gi'

Bug #2060221 reported by Nick Rosbrook
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
network-manager (Ubuntu)
Fix Released
Undecided
Nick Rosbrook

Bug Description

Example log: https://autopkgtest.ubuntu.com/results/autopkgtest-noble/noble/amd64/n/network-manager/20240404_183130_7a1cc@/log.gz

The relevant part is:

3988s autopkgtest [18:31:02]: test nm_netplan.py: [-----------------------
3988s Traceback (most recent call last):
3988s File "/tmp/autopkgtest.Q1jKoU/build.9D4/src/debian/tests/nm_netplan.py", line 18, in <module>
3988s import gi
3988s ModuleNotFoundError: No module named 'gi'
3988s autopkgtest [18:31:02]: test nm_netplan.py: -----------------------]
3989s autopkgtest [18:31:03]: test nm_netplan.py: - - - - - - - - - - results - - - - - - - - - -
3989s nm_netplan.py FAIL non-zero exit status 1

It seems that nm_netplan.py needs to depend on python3-gi

Nick Rosbrook (enr0n)
tags: added: update-excuse
Changed in network-manager (Ubuntu):
assignee: nobody → Nick Rosbrook (enr0n)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package network-manager - 1.46.0-1ubuntu2

---------------
network-manager (1.46.0-1ubuntu2) noble; urgency=medium

  * debian/tests/control: add Depends: python3-gi for nm_netplan.py
    (LP: #2060221)

 -- Nick Rosbrook <email address hidden> Thu, 04 Apr 2024 15:11:48 -0400

Changed in network-manager (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.