Source: python-potr
Version: 1.0.2-5
Severity: serious
Tags: ftbfs
Justification: FTBFS
User: debian-pyt...@lists.debian.org
Usertags: setup.py-test
Dear maintainer,

During a test rebuild for packages affected by setuptools 72, python-potr
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.

-------------------------------------------------------------------------------
[...]
   dh_auto_build -O--buildsystem=pybuild
I: pybuild base:311: /usr/bin/python3 setup.py build 
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/potr
copying src/potr/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/potr
copying src/potr/utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/potr
copying src/potr/context.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/potr
copying src/potr/crypt.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/potr
copying src/potr/proto.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/potr
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/potr/compatcrypto
copying src/potr/compatcrypto/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/potr/compatcrypto
copying src/potr/compatcrypto/common.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/potr/compatcrypto
copying src/potr/compatcrypto/pycrypto.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/potr/compatcrypto
   debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS='{interpreter} setup.py test -vv' 
dh_auto_test
I: pybuild base:311: python3.12 setup.py test -vv
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
   or: setup.py --help [cmd1 cmd2 ...]
   or: setup.py --help-commands
   or: setup.py cmd --help

error: invalid command 'test'
E: pybuild pybuild:389: test: plugin custom failed with: exit code=1: 
python3.12 setup.py test -vv
dh_auto_test: error: pybuild --test -i python{version} -p 3.12 returned exit 
code 13
make[1]: *** [debian/rules:7: override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:4: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2024-08-28T05:22:50Z

-------------------------------------------------------------------------------

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/553054/

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/9859/

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

Reply via email to