[Bug 2077940] [NEW] setuptools v72 removed the test command

Matthias Klose 2077940 at bugs.launchpad.net
Tue Aug 27 07:27:02 UTC 2024


Public bug reported:

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'

** Affects: software-properties (Ubuntu)
     Importance: High
         Status: Confirmed


** Tags: rls-oo-incoming

** Changed in: software-properties (Ubuntu)
       Status: New => Confirmed

** Changed in: software-properties (Ubuntu)
   Importance: Undecided => High

** Tags added: rls-oo-incoming

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to software-properties in Ubuntu.
https://bugs.launchpad.net/bugs/2077940

Title:
  setuptools v72 removed the test command

Status in software-properties package in Ubuntu:
  Confirmed

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 foundations-bugs mailing list