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

#1114208#5
Date:
2025-09-05 18:20:33 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:mistune0, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --with python3 --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
I: pybuild base:311: python3.13 setup.py clean
/<<PKGBUILDDIR>>/mistune0.py:435: SyntaxWarning: invalid escape sequence '\|'
  cells[i][c] = re.sub('\\\\\|', '|', cell)
/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 :: BSD 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_mistune0/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 --with python3 --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
/<<PKGBUILDDIR>>/mistune0.py:435: SyntaxWarning: invalid escape sequence '\|'
  cells[i][c] = re.sub('\\\\\|', '|', cell)
/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 :: BSD 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 :: BSD License

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

!!
  self._finalize_license_expression()
running build
running build_py
copying mistune0.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_mistune0/build
   dh_auto_test -O--buildsystem=pybuild
I: pybuild pybuild:308: cp -r /<<PKGBUILDDIR>>/tests /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_mistune0/build
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_mistune0/build; python3.13 -m pytest tests
============================= 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 18 items / 1 error

==================================== ERRORS ====================================
__ ERROR collecting .pybuild/cpython3_3.13_mistune0/build/tests/test_cases.py __
'yield' keyword is allowed in fixtures, but not in tests (test_extra)
=============================== warnings summary ===============================
mistune0.py:435
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_mistune0/build/mistune0.py:435: SyntaxWarning: invalid escape sequence '\|'
    cells[i][c] = re.sub('\\\\\|', '|', cell)

#1114208#10
Date:
2025-09-06 12:57:32 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
mistune0, 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 1114208@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 mistune0 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 13:53:14 +0200
Source: mistune0
Architecture: source
Version: 0.8.4-5
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Alexandre Detiste <tchet@debian.org>
Closes: 979225 1114208
Changes:
 mistune0 (0.8.4-5) unstable; urgency=medium
 .
   * Team upload.
   * Fix compatibility with Pytest 8.4 (Closes: #1114208)
   * Fix SyntaxWarning (Closes: #979225)
   * Use dh-sequence-python3
Checksums-Sha1:
 22cc0c693cb2e6d736f36510b951eee4e856dd7f 2028 mistune0_0.8.4-5.dsc
 66025173336ff32a78d30fe7c68db906f03deae1 14208 mistune0_0.8.4-5.debian.tar.xz
 69840855c9c06770d3166812108730b0d3614929 6885 mistune0_0.8.4-5_source.buildinfo
Checksums-Sha256:
 7f007f9ca8c0c2f071de810d0a655bfa53465874abae063fba4b4f22be3bcab6 2028 mistune0_0.8.4-5.dsc
 88770c770ccafb47af3fe585c7935634e87412f1875ea88f6ffab9f229e6f408 14208 mistune0_0.8.4-5.debian.tar.xz
 cc6bc2652a4180331fb0bf3e92d78d90efe6645d50271f5d3809fabd9db3503e 6885 mistune0_0.8.4-5_source.buildinfo
Files:
 a5d7e073ff3cf5325c380e45a4d0663c 2028 python optional mistune0_0.8.4-5.dsc
 54d9586291a02b6f08e00962b766e51c 14208 python optional mistune0_0.8.4-5.debian.tar.xz
 3b6b2315e77c5ed7f0d621e40ddc591b 6885 python optional mistune0_0.8.4-5_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEEj23hBDd/OxHnQXSHMfMURUShdBoFAmi8IWURHHRjaGV0QGRl
Ymlhbi5vcmcACgkQMfMURUShdBpTqw//QhQlMzQBFHPYTX1+E+np31afS1zuTlrr
OK/bpL496HpexF85hiSMvLFZWL97DLHy8Mr6iceT0ebMjwesaF9IeHEvL8rHV2vp
FHJWkpCgaacOnO8wyc9tDsOlBi6o2XxlHhe6EG9TacLTg0Sh0K92syQyt3VbduVt
dj+K9SnI/tPhZYgVOtTxp9B1loGjtlKxu9XdunAc7nV9gSxZhIhoQCaSFolD3xIb
2kXkqxPmUkUQsO/PdZFAL0qdvAQHVmnuMl3acO7Fbf8a0Hy/KevHrD9FGtmXtQa3
YeR2LET7N7ojnE9JoZImVgV6PDoO9kI7qwgcnsGfw+uwfp7h7W5e5PQ92PBtz48J
2qwde2bdFQiwkJ9vwDZTnnM/cYCt6QxckyVvP89eFaKRDHkSLXq2FfpLSiHITO3n
D13oPoB8MCwcttoCZCDwCIJcCgUl6S/Hewb54K+9tNSOkuyYHDJq5HVaKIdMkN3B
BLHL9rhcrLisiusQoM7CpOycEihVeT2gol2JEDjoibD1ctY0IopMINwsFXdHMC0l
k53AsVh8MtwWsOm7Jfh6gP+qTnG1aclHjoYzJI8wcS34dI2dB5g9LHyiNVAw8EEb
37De4d3j/LamX7h3zdF/1uhVAa0gV0MIvknKDbUZAwfN6Ym6PHftSO5sK+BFGVyz
CvrnVXDizsE=
=pb46
-----END PGP SIGNATURE-----