unattended-upgrades ftbfs with Python 3.12 as default

Bug #2051541 reported by Matthias Klose
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
unattended-upgrades (Ubuntu)
Fix Released
High
Unassigned
Noble
Fix Released
High
Unassigned

Bug Description

[...]
Running ./test_pep484.py with python3
s
----------------------------------------------------------------------
Ran 0 tests in 0.000s

NO TESTS RAN (skipped=1)
make[2]: *** [Makefile:9: check] Error 5
make[2]: Leaving directory '/<<PKGBUILDDIR>>/test'
make[1]: *** [debian/rules:16: override_dh_auto_test] Error 2

5 is a new exit value when all tests are skipped.

Matthias Klose (doko)
Changed in unattended-upgrades (Ubuntu):
status: New → Confirmed
importance: Undecided → High
tags: added: ftbfs rls-nn-incoming
tags: added: foundations-todo
removed: ftbfs rls-nn-incoming
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unattended-upgrades - 2.9.1+nmu4ubuntu1

---------------
unattended-upgrades (2.9.1+nmu4ubuntu1) noble; urgency=medium

  * Merge from Debian unstable. Remaining changes:
    - kernel/postinst.d/unattended-upgrades: check to see if canonical-
      livepatch is installed and enabled. In the event that it is and it says
      a reboot is required do not update reboot-required files so that only
      one reboot message appears in the message of the day.
    - d/t/control: Restrict kernel-patterns test to isolation-machine as the
      test assumes a meaningful link between the running kernel and the archive
    - Make debian/tests/test-systemd.py and test/autopkgtest_kernel_patterns.py
      executable again
  * tests/test_pep484.py, tests/test_pyflakes.py: Add a faux test to make sure
    we don't fail the test suite because the only test in the file was skipped...
    (LP: #2051541)

unattended-upgrades (2.9.1+nmu4) unstable; urgency=medium

  * Non-maintainer upload.
  * Don't run pyflakes, it dropped support for type comments.
    (Closes: #1058172)

 -- Julian Andres Klode <email address hidden> Mon, 12 Feb 2024 18:50:35 +0100

Changed in unattended-upgrades (Ubuntu Noble):
status: Confirmed → 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.