[Bug 2077940] Re: setuptools v72 removed the test command

Launchpad Bug Tracker 2077940 at bugs.launchpad.net
Thu Sep 12 20:53:18 UTC 2024


This bug was fixed in the package software-properties - 0.102

---------------
software-properties (0.102) oracular; urgency=medium

  * Use pytest for autopkgttests (LP: #2077940)

 -- Heinrich Schuchardt <heinrich.schuchardt at canonical.com>  Mon, 09 Sep
2024 13:06:49 +0200

** Changed in: software-properties (Ubuntu Oracular)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/2077940

Title:
  setuptools v72 removed the test command

Status in software-properties package in Ubuntu:
  Fix Released
Status in software-properties source package in Oracular:
  Fix Released

Bug description:
  the autopkg tests fail with setuptools v72:

  v72.0.0
  =======

  Deprecations and Removals
  -------------------------

  - The test command has been removed. Users relying on 'setup.py test'
  will need to migrate to another test runner or pin setuptools before
  this version. (#931)

  
  [...]
  121s autopkgtest [16:15:43]: test run-tests: [-----------------------
  121s MESA: error: ZINK: vkCreateInstance failed (VK_ERROR_INCOMPATIBLE_DRIVER)
  121s glx: failed to create drisw screen
  121s 
  121s (setup.py:4590): dbind-WARNING **: 16:15:43.530: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
  121s ERROR: Python module Queue not found
  121s ERROR: Python module urllib2 not found
  122s ERROR: Python module Queue not found
  122s ERROR: Python module ConfigParser not found
  122s /usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:268: UserWarning: Unknown distribution option: 'test_suite'
  122s   warnings.warn(msg)
  122s usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
  122s    or: setup.py --help [cmd1 cmd2 ...]
  122s    or: setup.py --help-commands
  122s    or: setup.py cmd --help
  122s 
  122s error: invalid command 'test'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/2077940/+subscriptions




More information about the Ubuntu-sponsors mailing list