#1114303 python-etcd: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.13 returned exit code 13

#1114303#5
Date:
2025-09-05 18:23:45 UTC
From:
To:
Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build.

Below you will find how the build ends (probably the most relevant part,
but not necessarily). If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202509/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:python-etcd, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --buildsystem pybuild
   dh_auto_clean -O--buildsystem=pybuild
I: pybuild base:311: python3.13 setup.py clean
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'tests_require'
  warnings.warn(msg)
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'test_suite'
  warnings.warn(msg)
/usr/lib/python3/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        ********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX license expression:

        License :: OSI Approved :: MIT License

        See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
        ********************************************************************************

!!
  self._finalize_license_expression()
running clean
removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_etcd/build' (and everything under it)
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-3.13' does not exist -- can't clean it
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
 debian/rules binary
dh binary --buildsystem pybuild
   dh_update_autotools_config -O--buildsystem=pybuild
   dh_autoreconf -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild
I: pybuild base:311: python3.13 setup.py config
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'tests_require'
  warnings.warn(msg)
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'test_suite'
  warnings.warn(msg)
/usr/lib/python3/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        ********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX license expression:

        License :: OSI Approved :: MIT License

        See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
        ********************************************************************************

!!
  self._finalize_license_expression()
running config
   dh_auto_build -O--buildsystem=pybuild
I: pybuild base:311: /usr/bin/python3 setup.py build
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'tests_require'
  warnings.warn(msg)
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'test_suite'
  warnings.warn(msg)
/usr/lib/python3/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        ********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX license expression:

        License :: OSI Approved :: MIT License

        See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
        ********************************************************************************

!!
  self._finalize_license_expression()
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_etcd/build/etcd
copying src/etcd/auth.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_etcd/build/etcd
copying src/etcd/lock.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_etcd/build/etcd
copying src/etcd/client.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_etcd/build/etcd
copying src/etcd/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_etcd/build/etcd
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_etcd/build/etcd/tests
copying src/etcd/tests/test_auth.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_etcd/build/etcd/tests
copying src/etcd/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_etcd/build/etcd/tests
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_etcd/build/etcd/tests/unit
copying src/etcd/tests/unit/test_result.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_etcd/build/etcd/tests/unit
copying src/etcd/tests/unit/test_client.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_etcd/build/etcd/tests/unit
copying src/etcd/tests/unit/test_request.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_etcd/build/etcd/tests/unit
copying src/etcd/tests/unit/test_lock.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_etcd/build/etcd/tests/unit
copying src/etcd/tests/unit/test_old_request.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_etcd/build/etcd/tests/unit
copying src/etcd/tests/unit/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_etcd/build/etcd/tests/unit
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_etcd/build/etcd/tests/integration
copying src/etcd/tests/integration/test_ssl.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_etcd/build/etcd/tests/integration
copying src/etcd/tests/integration/helpers.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_etcd/build/etcd/tests/integration
copying src/etcd/tests/integration/test_simple.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_etcd/build/etcd/tests/integration
copying src/etcd/tests/integration/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_etcd/build/etcd/tests/integration
running egg_info
creating src/python_etcd.egg-info
writing src/python_etcd.egg-info/PKG-INFO
writing dependency_links to src/python_etcd.egg-info/dependency_links.txt
writing requirements to src/python_etcd.egg-info/requires.txt
writing top-level names to src/python_etcd.egg-info/top_level.txt
writing manifest file 'src/python_etcd.egg-info/SOURCES.txt'
reading manifest file 'src/python_etcd.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE.txt'
adding license file 'AUTHORS'
writing manifest file 'src/python_etcd.egg-info/SOURCES.txt'
   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_etcd/build; python3.13 -m pytest etcd/tests/unit/
============================= test session starts ==============================
platform linux -- Python 3.13.7, pytest-8.4.1, pluggy-1.6.0
rootdir: /<<PKGBUILDDIR>>
plugins: typeguard-4.4.4
collected 118 items / 1 error

==================================== ERRORS ====================================
_ ERROR collecting .pybuild/cpython3_3.13_etcd/build/etcd/tests/unit/test_old_request.py _
'yield' keyword is allowed in fixtures, but not in tests (test_eternal_watch)
=========================== short test summary info ============================
ERROR etcd/tests/unit/test_old_request.py::TestEventGenerator - Failed: 'yiel...
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
=============================== 1 error in 0.18s ===============================
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=2: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_etcd/build; python3.13 -m pytest etcd/tests/unit/
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.13 returned exit code 13
make: *** [debian/rules:9: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

#1114303#10
Date:
2025-09-06 13:45:10 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
python-etcd, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1114303@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Alexandre Detiste <tchet@debian.org> (supplier of updated python-etcd package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sat, 06 Sep 2025 14:45:51 +0200
Source: python-etcd
Architecture: source
Version: 0.4.5-7
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Alexandre Detiste <tchet@debian.org>
Closes: 1114303
Changes:
 python-etcd (0.4.5-7) unstable; urgency=medium
 .
   * Team upload.
   * Patch for Pytest 8.4 (Closes: #1114303)
Checksums-Sha1:
 4c54ce507558e0de1146fe6ddaac2ae920cdbb05 2177 python-etcd_0.4.5-7.dsc
 5192ea788c42de1935965313f643c27e58d102f2 8852 python-etcd_0.4.5-7.debian.tar.xz
 426a3c6dab41862e857dc07fff679aa40add0c3a 7125 python-etcd_0.4.5-7_source.buildinfo
Checksums-Sha256:
 edc8f7cdfbace71d6663527f61f5683a07138591ef685546542c71c48fd2480c 2177 python-etcd_0.4.5-7.dsc
 39efcc77dbdb953e4edd4bec4de3654a6edf1a1fdf3b34a57c48c0987ca5e420 8852 python-etcd_0.4.5-7.debian.tar.xz
 a78055e53893e519835004ed980c88f45170b7d484bf64f71e272a4c7db3276c 7125 python-etcd_0.4.5-7_source.buildinfo
Files:
 8005ea4a22bfe057a84136e42d3d0032 2177 python optional python-etcd_0.4.5-7.dsc
 4e67a9bb5da4b774656531bf6a594819 8852 python optional python-etcd_0.4.5-7.debian.tar.xz
 c5b496976ecae34cfea0748b237068b1 7125 python optional python-etcd_0.4.5-7_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEEj23hBDd/OxHnQXSHMfMURUShdBoFAmi8M10RHHRjaGV0QGRl
Ymlhbi5vcmcACgkQMfMURUShdBqwmRAAtm0TqvcovK/B16e8zxysfF6GnVg/NXsv
yaiNHzp+rhZZGGc2/q6cmIXN9LJn+0rx63RFIvRChj7yW5tLNiabxv1RibDWth16
V1hAWxXaj6MqD1HouAQjyw0IpYJMym06+gviAGPjbpDW69gnT0m9HIZ/ooPk4pPd
yZPJq5tkbG6CRYrCCFWhT5L5zJjTDFKmO/8ifrmtXXA7+4yPzKJQQj+7Baj0e6kS
0lLH/pXUzZk7nXSCMFQiqSSS5xiEA10RQbcrnhGE+1eCWKUbh/eUuEXZ8y5T8Jp8
/JK9DuY4+FoXsBsy8eFXId+uiwsfqFeMhW+aYw+wdZOCkDa47rf4HUrBc+S1x86o
6YMDvKV78/RPzTUcfySCNrAjbkBb180AbnGStFbO271+fOo3of8Hl9+ChTC5K+7N
peBqSG2lG9nTVlp8shkCZ+DN2bMpcoyPrvFv9ETsfyKeS5cLJSPDefviA+eKKt70
uFiZQ4VawWMzOZHXduqtv3gtP829SswM9Izet4WfdcJYsvRckJAU8yP9S2QCGNiV
xKdU3fFJQy0N2w8x0umZ2lPwMSi6W/TvcMurAfhLlqasdY0fZLKqs0tdaHODMmQu
OxmwFrpoJ5Jtgq/MHVw/VOtVddlc+CrmxWmK4aEvWvuioFVhxnQHF7WoHSizM16S
U/fzfBdD6W0=
=5tTx
-----END PGP SIGNATURE-----