On Tue, 26 Sep 2023, Lucas Nussbaum wrote:

Relevant part (hopefully):
 debian/rules binary
dh binary --buildsystem=pybuild --with python3
   dh_update_autotools_config -O--buildsystem=pybuild
   dh_autoreconf -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild
I: pybuild base:291: python3.11 setup.py config
running config
   dh_auto_build -O--buildsystem=pybuild
I: pybuild base:291: /usr/bin/python3 setup.py build
running build
running build_py
copying pytest_timeout.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_python-pytest-timeout/build
   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:291: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_python-pytest-timeout/build; python3.11 
-m pytest

I think this is happening because of the change to dh-python to remove the *.egg-info files as part of 'clean'. The egg is needed for running tests so the plugin can be found. (The egg is built as part of the build process, but not until the 'install' phase.) We could try to work around this, but I think a better solution is to switch to pyproject.toml, which I think shouldn't be affected by this problem. I sent a pull request upstream.

Scott

Reply via email to