Package: click
Version: 0.5.2-4
Severity: serious
Tags: ftbfs
Justification: ftbfs
User: [email protected]
Usertags: setup.py-test
Dear maintainer,
During a test rebuild for packages affected by setuptools 72, click
failed to rebuild.
FWIW: I think these bugs were all caused by setuptools v72 dropping
support for the "test" command, so dh-python has fallen back to
distutils / other test plugins.
If you're trying to figure out how to fix the bug, look at the
implementation of test_suite in setup.py to see what magic it does for
test setup.
-------------------------------------------------------------------------------
[...]
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_test -O--buildsystem=autoconf
make -j8 check "TESTSUITEFLAGS=-j8 --verbose" VERBOSE=1
make[1]: Entering directory '/<<PKGBUILDDIR>>'
Making check in lib
make[2]: Entering directory '/<<PKGBUILDDIR>>/lib'
Making check in click
make[3]: Entering directory '/<<PKGBUILDDIR>>/lib/click'
make check-am
make[4]: Entering directory '/<<PKGBUILDDIR>>/lib/click'
make[4]: Nothing to be done for 'check-am'.
make[4]: Leaving directory '/<<PKGBUILDDIR>>/lib/click'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/lib/click'
make[3]: Entering directory '/<<PKGBUILDDIR>>/lib'
make[3]: Nothing to be done for 'check-am'.
make[3]: Leaving directory '/<<PKGBUILDDIR>>/lib'
make[2]: Leaving directory '/<<PKGBUILDDIR>>/lib'
Making check in preload
make[2]: Entering directory '/<<PKGBUILDDIR>>/preload'
make[2]: Nothing to be done for 'check'.
make[2]: Leaving directory '/<<PKGBUILDDIR>>/preload'
Making check in click_package
make[2]: Entering directory '/<<PKGBUILDDIR>>/click_package'
Making check in tests
make[3]: Entering directory '/<<PKGBUILDDIR>>/click_package/tests'
Making check in integration
make[4]: Entering directory '/<<PKGBUILDDIR>>/click_package/tests/integration'
make[4]: Nothing to be done for 'check'.
make[4]: Leaving directory '/<<PKGBUILDDIR>>/click_package/tests/integration'
make[4]: Entering directory '/<<PKGBUILDDIR>>/click_package/tests'
make[4]: Nothing to be done for 'check-am'.
make[4]: Leaving directory '/<<PKGBUILDDIR>>/click_package/tests'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/click_package/tests'
make[3]: Entering directory '/<<PKGBUILDDIR>>/click_package'
make[3]: Nothing to be done for 'check-am'.
make[3]: Leaving directory '/<<PKGBUILDDIR>>/click_package'
make[2]: Leaving directory '/<<PKGBUILDDIR>>/click_package'
Making check in conf
make[2]: Entering directory '/<<PKGBUILDDIR>>/conf'
Making check in databases
make[3]: Entering directory '/<<PKGBUILDDIR>>/conf/databases'
make[3]: Nothing to be done for 'check'.
make[3]: Leaving directory '/<<PKGBUILDDIR>>/conf/databases'
make[3]: Entering directory '/<<PKGBUILDDIR>>/conf'
make[3]: Nothing to be done for 'check-am'.
make[3]: Leaving directory '/<<PKGBUILDDIR>>/conf'
make[2]: Leaving directory '/<<PKGBUILDDIR>>/conf'
Making check in debhelper
make[2]: Entering directory '/<<PKGBUILDDIR>>/debhelper'
make[2]: Nothing to be done for 'check'.
make[2]: Leaving directory '/<<PKGBUILDDIR>>/debhelper'
Making check in init
make[2]: Entering directory '/<<PKGBUILDDIR>>/init'
Making check in systemd
make[3]: Entering directory '/<<PKGBUILDDIR>>/init/systemd'
make[3]: Nothing to be done for 'check'.
make[3]: Leaving directory '/<<PKGBUILDDIR>>/init/systemd'
make[3]: Entering directory '/<<PKGBUILDDIR>>/init'
make[3]: Nothing to be done for 'check-am'.
make[3]: Leaving directory '/<<PKGBUILDDIR>>/init'
make[2]: Leaving directory '/<<PKGBUILDDIR>>/init'
Making check in schroot
make[2]: Entering directory '/<<PKGBUILDDIR>>/schroot'
make[2]: Nothing to be done for 'check'.
make[2]: Leaving directory '/<<PKGBUILDDIR>>/schroot'
Making check in click-service
make[2]: Entering directory '/<<PKGBUILDDIR>>/click-service'
Making check in tests
make[3]: Entering directory '/<<PKGBUILDDIR>>/click-service/tests'
make test-runner.sh test-fixure-wrapper.sh install-click.sh
install-click-not-exists.sh install-click-no-perms.sh remove-click.sh
remove-click-preinstalled.sh remove-click-not-installed.sh
make[4]: Entering directory '/<<PKGBUILDDIR>>/click-service/tests'
make[4]: Nothing to be done for 'test-runner.sh'.
make[4]: Nothing to be done for 'test-fixure-wrapper.sh'.
make[4]: Nothing to be done for 'install-click.sh'.
make[4]: Nothing to be done for 'install-click-not-exists.sh'.
make[4]: Nothing to be done for 'install-click-no-perms.sh'.
make[4]: Nothing to be done for 'remove-click.sh'.
make[4]: Nothing to be done for 'remove-click-preinstalled.sh'.
make[4]: Nothing to be done for 'remove-click-not-installed.sh'.
make[4]: Leaving directory '/<<PKGBUILDDIR>>/click-service/tests'
make check-TESTS
make[4]: Entering directory '/<<PKGBUILDDIR>>/click-service/tests'
make[5]: Entering directory '/<<PKGBUILDDIR>>/click-service/tests'
PASS: install-click-not-exists.sh
PASS: install-click-no-perms.sh
PASS: remove-click-not-installed.sh
PASS: install-click.sh
PASS: remove-click.sh
PASS: remove-click-preinstalled.sh
============================================================================
Testsuite summary for click 0.5.2
============================================================================
# TOTAL: 6
# PASS: 6
# SKIP: 0
# XFAIL: 0
# FAIL: 0
# XPASS: 0
# ERROR: 0
============================================================================
make[5]: Leaving directory '/<<PKGBUILDDIR>>/click-service/tests'
make[4]: Leaving directory '/<<PKGBUILDDIR>>/click-service/tests'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/click-service/tests'
make[3]: Entering directory '/<<PKGBUILDDIR>>/click-service'
make[3]: Nothing to be done for 'check-am'.
make[3]: Leaving directory '/<<PKGBUILDDIR>>/click-service'
make[2]: Leaving directory '/<<PKGBUILDDIR>>/click-service'
make[2]: Entering directory '/<<PKGBUILDDIR>>'
set -e; for python in python3; do \
$python setup.py build; \
done
/<<PKGBUILDDIR>>/setup.py:6: SetuptoolsDeprecationWarning: The test command is
disabled and references to it are deprecated.
!!
********************************************************************************
Please remove any references to `setuptools.command.test` in all
supported versions of the affected package.
By 2024-Nov-15, you need to update your project and remove deprecated
calls
or your builds will no longer be supported.
********************************************************************************
!!
from setuptools.command.test import test
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:268: UserWarning:
Unknown distribution option: 'test_suite'
warnings.warn(msg)
running build
running build_py
copying click_package/paths.py -> build/lib/click_package
running build_scripts
make check-local
make[3]: Entering directory '/<<PKGBUILDDIR>>'
set -e; for python in python3; do \
$python setup.py test; \
done
/<<PKGBUILDDIR>>/setup.py:6: SetuptoolsDeprecationWarning: The test command is
disabled and references to it are deprecated.
!!
********************************************************************************
Please remove any references to `setuptools.command.test` in all
supported versions of the affected package.
By 2024-Nov-15, you need to update your project and remove deprecated
calls
or your builds will no longer be supported.
********************************************************************************
!!
from setuptools.command.test import test
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:268: UserWarning:
Unknown distribution option: 'test_suite'
warnings.warn(msg)
running test
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/setup.py", line 41, in <module>
setup(
File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 111, in
setup
return distutils.core.setup(**attrs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/setuptools/_distutils/core.py", line
184, in setup
return run_commands(dist)
^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/setuptools/_distutils/core.py", line
200, in run_commands
dist.run_commands()
File "/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py", line
964, in run_commands
self.run_command(cmd)
File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 948, in
run_command
super().run_command(command)
File "/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py", line
983, in run_command
cmd_obj.run()
File "/<<PKGBUILDDIR>>/setup.py", line 38, in run
test.run(self)
File "/usr/lib/python3/dist-packages/setuptools/command/test.py", line 42, in
run
raise RuntimeError("Support for the test command was removed in Setuptools
72")
RuntimeError: Support for the test command was removed in Setuptools 72
make[3]: *** [Makefile:885: check-local] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>'
make[2]: *** [Makefile:750: check-am] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:454: check-recursive] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_test: error: make -j8 check "TESTSUITEFLAGS=-j8 --verbose" VERBOSE=1
returned exit code 2
make: *** [debian/rules:14: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2024-08-27T23:53:25Z
-------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here (for the next 30 days):
https://debusine.debian.net/artifact/552494/
About the archive rebuild: The build was made on debusine.debian.net,
using sbuild.
You can find the build task here:
https://debusine.debian.net/work-request/9632/
If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.
Thanks,
Stefano