#1147891 python-cattrs: FTBFS: E ModuleNotFoundError: No module named 'typing_extensions'

#1147891#5
Date:
2026-09-15 11:16:03 UTC
From:
To:
Dear maintainer:

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

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

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

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 cannot 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-cattrs, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:385: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_cattr/build; python3.14 -m pytest -v --ignore tests/test_unstructure_collections.py --ignore tests/test_cols.py
ImportError while loading conftest '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_cattr/build/tests/conftest.py'.
tests/__init__.py:6: in <module>
    from typing_extensions import TypeAlias
E   ModuleNotFoundError: No module named 'typing_extensions'
E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=4: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_cattr/build; python3.14 -m pytest -v --ignore tests/test_unstructure_collections.py --ignore tests/test_cols.py
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.14 --parallel=2 returned exit code 13
make: *** [debian/rules:9: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------

#1147891#10
Date:
2026-09-24 21:06:08 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
python-cattrs, 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 1147891@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sandro Tosi <morph@debian.org> (supplier of updated python-cattrs 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: Thu, 24 Sep 2026 16:52:28 -0400
Source: python-cattrs
Architecture: source
Version: 26.2.0-1
Distribution: unstable
Urgency: medium
Maintainer: Sandro Tosi <morph@debian.org>
Changed-By: Sandro Tosi <morph@debian.org>
Closes: 1133961 1147891 1148036
Changes:
 python-cattrs (26.2.0-1) unstable; urgency=medium
 .
   * New upstream release
   * debian/control
     - add typing-extensions to b-d, needed by tests; Closes: #1147891
     - drop tomli from b-d, the stdlib tomllib is used instead; Closes: #1133961
     - drop Priority, optional is now the default
     - bump Standards-Version to 4.7.4 (no changes needed)
     - refresh the description from the current upstream README and docs; this
       also fixes the "dict s" and "uattrs" typos
   * debian/rules
     - drop SETUPTOOLS_SCM_PRETEND_VERSION: DEB_VERSION_UPSTREAM was never
       defined (pkg-info.mk is not included), and pybuild already sets it from
       debian/changelog
   * debian/watch
     - upgrade to version 5
   * the changes of the delayed NMU 26.1.0-1.1 are included above;
     Closes: #1148036
Checksums-Sha1:
 4b6e77ef0cbb84c2e213acc9766b6dc907651b77 2395 python-cattrs_26.2.0-1.dsc
 2f431204310dfba10765a77efa9644cb0b6466e7 463364 python-cattrs_26.2.0.orig.tar.xz
 5894c11cfb6a93cf8556acb8dfbf35b2c1a88288 3284 python-cattrs_26.2.0-1.debian.tar.xz
 6321f287d6617703dd0edabd7cf5f20a34a10ed7 8970 python-cattrs_26.2.0-1_source.buildinfo
Checksums-Sha256:
 a51d5ab2968f839f8a08585df92c6f9c8426b21d46e21bf1d6f23d5e238dffeb 2395 python-cattrs_26.2.0-1.dsc
 28aa7133c6274807f3f398584e97604b444539d86725f2415504039cd5228570 463364 python-cattrs_26.2.0.orig.tar.xz
 a10095c3f1b61ba7358fd06e1e6e0e7105f06914b2b68513f7ab1065524e22c9 3284 python-cattrs_26.2.0-1.debian.tar.xz
 4f8c3e05eb0b1c19b9047cbd3db737c46d1106c7b75da27b9f2ac7ed62224bb2 8970 python-cattrs_26.2.0-1_source.buildinfo
Files:
 3580851c01c2c01de58845be2f69aa20 2395 python optional python-cattrs_26.2.0-1.dsc
 dd8e71b685b366ddfb9e222601284af3 463364 python optional python-cattrs_26.2.0.orig.tar.xz
 5eadc95152ddf99f9f38b6207aa55215 3284 python optional python-cattrs_26.2.0-1.debian.tar.xz
 30b751208a715c236678a9563b4229bd 8970 python optional python-cattrs_26.2.0-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEufrTGSrz5KUwnZ05h588mTgBqU8FAmq1jZ0ACgkQh588mTgB
qU9B1BAAugNd3Rze4H+fsVQMJkffYtXixSIov3rey7EufbHiF+o5Gx3KHEYI2LEq
XS/yRaggPd+VjmCwnWVZ2lC2h6Chew3ezlipbXr/leiA/ZkguMTuBM+Wz7Lurrb4
lCRb+1fPtV4Rmxpc56Dyc+0+XN/ciaRnqSBp6Lk+P4YRB/HKzjeeR4yDZ6CioMdQ
w863HoIzWd0+ixyMNrgRCuefY9OnhougFeMnrvN7L76g5s7oKGPMoWeuU2/BwX3T
z1MtAVm15g2l6dXf76oFuR43C/l5MuB47fuP/2ICEKC0cMN0BTmrrgJy1ZfoD0wp
9KzmONLpJDkjG1/HSC1Q9O7mzwwAUndY2rBIW5YKhM9r5fTAFlaUeHRzK3cOPuP2
pJEiifQu95pWctaPwohr3bPSDMIqfXXqzD3HWqNYhI7ca6MlbF0H+9Qm+RuZyHdr
A+Y2rndRGGsCLslGmNVlhvRZoMpnVvGtlj8yA0o8M/4rWaWdBLdvqVA6K2PMNutG
NHazZcq72Q4WQT45405PCZhw1FoYNs8FyO/WHS9mMsZfTTx3GwlK1Z//Rst9fyEt
y0pjsC9XEk8zckSSMFsUvREsTZUfIZIUkZiwo/EhH5+eaL8Fu63VGJStl5MGmpTE
mRpp2BSuXu+zZ02rUUQUx6UIC0MkhIfJRLKlhuqTStv+QPcMU5w=
=kC+X
-----END PGP SIGNATURE-----