#1147786 python-amcrest: FTBFS: E ModuleNotFoundError: No module named 'typing_extensions'

#1147786#5
Date:
2026-09-15 10:31:01 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-amcrest, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
    import amcrest
amcrest/__init__.py:19: in <module>
    from .ptz import Ptz
amcrest/ptz.py:12: in <module>
    from typing_extensions import Literal
E   ModuleNotFoundError: No module named 'typing_extensions'
=========================== short test summary info ============================
ERROR tests/test_log.py
ERROR tests/test_media.py
!!!!!!!!!!!!!!!!!!! Interrupted: 2 errors during collection !!!!!!!!!!!!!!!!!!!!
============================== 2 errors in 0.22s ===============================
E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=2: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build; python3.14 -m pytest tests
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.14 --parallel=2 returned exit code 13
make: *** [debian/rules:3: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------

#1147786#10
Date:
2026-09-15 12:33:59 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
python-amcrest, 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 1147786@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Edward Betts <edward@4angle.com> (supplier of updated python-amcrest 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: Tue, 15 Sep 2026 12:29:23 +0100
Source: python-amcrest
Architecture: source
Version: 1.9.9-2
Distribution: unstable
Urgency: medium
Maintainer: Home Assistant Team <team+homeassistant@tracker.debian.org>
Changed-By: Edward Betts <edward@4angle.com>
Closes: 1147786
Changes:
 python-amcrest (1.9.9-2) unstable; urgency=medium
 .
   * Add python3-typing-extensions to build dependencies for tests and
     Sphinx documentation. (Closes: #1147786)
Checksums-Sha1:
 ff1974ce24a4862b490064050dd24485484a09c2 2628 python-amcrest_1.9.9-2.dsc
 81c51162fad8b2dc59e3baffca16300a8519a35e 3364 python-amcrest_1.9.9-2.debian.tar.xz
 8b882eb0d812b934ace10ff47ce81c9efbbf2895 510420 python-amcrest_1.9.9-2.git.tar.xz
 ecc24b91e210ff7c3f04a13bb4db9b1200b042f4 17696 python-amcrest_1.9.9-2_source.buildinfo
Checksums-Sha256:
 28d6245e6c9121a23628a7c676e3d3ab67d72c4e9f5756c61165c08b69b731ba 2628 python-amcrest_1.9.9-2.dsc
 926909ee5d034a9b473aa4f547d581bf6715908c701a6bb3ddd4eb0849c6a4f2 3364 python-amcrest_1.9.9-2.debian.tar.xz
 0f9c577c54d8a6daae70bf17a1924205848fe8f823b707bfbce31e76056e4709 510420 python-amcrest_1.9.9-2.git.tar.xz
 9d65e7cf1ba78d6294b33baa764adbb38d42a26433f60a4907ad285816cb76f3 17696 python-amcrest_1.9.9-2_source.buildinfo
Files:
 2f30286f9bb54ed4ea2af7cd8dad1437 2628 python optional python-amcrest_1.9.9-2.dsc
 16e7a6128ba2b866f7dd109477aeff83 3364 python optional python-amcrest_1.9.9-2.debian.tar.xz
 d6081cc258b16d80d6049ab64b2ccafc 510420 python None python-amcrest_1.9.9-2.git.tar.xz
 98aad399de7e6695b03771cef9711835 17696 python optional python-amcrest_1.9.9-2_source.buildinfo
Git-Tag-Info: tag=39cf79caa0dcf96b8f764ae5d5b2359848effed2 fp=fb8acfa78c726089c38ad0269605a1098c63b92a
Git-Tag-Tagger: Edward Betts <edward@4angle.com>
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmqpMxgACgkQYG0ITkaD
wHmafQ//RvAz1WhCNQ+lTldtTal4FDDuV6xsA2zguH0E9Y2lsCKH9FoAp27oZQ0n
RbnSt7OcA2ZT9j3SFWUDVM8Pjlzu+074lSBcCm4zJ3DXHzdEVSz8PakvGbhanU4S
m2vyTgUl/jdWhQYdQxBqiJcphEHwNGxe8UIFTBg2vlb8sXOMu3MkkzDpGFG2xXBd
ATPitjxUtyVmw/lGlX6QDOWKhmO9zWD4bUymBD0JFIGQ9WEI8KwKEGWTafV9Jjsd
GTuYbvR8sYy5c2wpXElUMGTz87mJID/Z9iTn/W19/HYQqnRWw3ymS1VdKoXPeEfs
G9ZOBIpp6uoBxt79V7ybuftAZUVCnQKplhlXGmK7twilRJ6kP/VJHQMqWgOeTKjQ
KECtX04m9Sc9ziDTFYf6q4u4XamsL/xZ853T6p69lWKWyKdEswGRyKWBAmvwwpK0
Q1vFO2myN6KgTW4sKNa4mQ3LTjbyJiD3YMRwsdV7WSbJUflgfw+OnfCYqFb3Ji1i
QklvKMcYXpU2Xd6FTF0NGjK/UwsNydTaMjC7h7zjXfch1a4uBGgszQFy2V3CGF8G
iw5vbtzEnsnaLUVB17kBV9/81vHqHpLybZQDashkI2+7lgnLwWmNZ12JIDRx4Jm7
aVBmMaoUCSX+Kn+aKVNLJKWCeRCQGIkhHsHpZHT9AoTda3JZVLU=
=ogiW
-----END PGP SIGNATURE-----