Package: src:python-typeguard
Version: 4.4.1-1
Severity: serious
Tags: ftbfs trixie sid
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean --buildsystem=pybuild
dh_auto_clean -O--buildsystem=pybuild
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
dh_auto_build -O--buildsystem=pybuild
I: pybuild plugin_pyproject:129: Building wheel for python3.12 with "build"
module
I: pybuild base:311: python3.12 -m build --skip-dependency-check --no-isolation
--wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_typeguard
* Building wheel...
running bdist_wheel
running build
running build_py
creating build/lib/typeguard
copying src/typeguard/_exceptions.py -> build/lib/typeguard
copying src/typeguard/_config.py -> build/lib/typeguard
copying src/typeguard/_checkers.py -> build/lib/typeguard
copying src/typeguard/_utils.py -> build/lib/typeguard
copying src/typeguard/__init__.py -> build/lib/typeguard
copying src/typeguard/_pytest_plugin.py -> build/lib/typeguard
copying src/typeguard/_importhook.py -> build/lib/typeguard
copying src/typeguard/_union_transformer.py -> build/lib/typeguard
copying src/typeguard/_functions.py -> build/lib/typeguard
copying src/typeguard/_transformer.py -> build/lib/typeguard
copying src/typeguard/_suppression.py -> build/lib/typeguard
copying src/typeguard/_memo.py -> build/lib/typeguard
copying src/typeguard/_decorators.py -> build/lib/typeguard
running egg_info
creating src/typeguard.egg-info
writing src/typeguard.egg-info/PKG-INFO
writing dependency_links to src/typeguard.egg-info/dependency_links.txt
writing entry points to src/typeguard.egg-info/entry_points.txt
writing requirements to src/typeguard.egg-info/requires.txt
writing top-level names to src/typeguard.egg-info/top_level.txt
writing manifest file 'src/typeguard.egg-info/SOURCES.txt'
reading manifest file 'src/typeguard.egg-info/SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'src/typeguard.egg-info/SOURCES.txt'
copying src/typeguard/py.typed -> build/lib/typeguard
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/typeguard
copying build/lib/typeguard/_exceptions.py ->
build/bdist.linux-x86_64/wheel/./typeguard
copying build/lib/typeguard/_config.py ->
build/bdist.linux-x86_64/wheel/./typeguard
copying build/lib/typeguard/_checkers.py ->
build/bdist.linux-x86_64/wheel/./typeguard
copying build/lib/typeguard/_utils.py ->
build/bdist.linux-x86_64/wheel/./typeguard
copying build/lib/typeguard/__init__.py ->
build/bdist.linux-x86_64/wheel/./typeguard
copying build/lib/typeguard/_pytest_plugin.py ->
build/bdist.linux-x86_64/wheel/./typeguard
copying build/lib/typeguard/_importhook.py ->
build/bdist.linux-x86_64/wheel/./typeguard
copying build/lib/typeguard/_union_transformer.py ->
build/bdist.linux-x86_64/wheel/./typeguard
copying build/lib/typeguard/py.typed ->
build/bdist.linux-x86_64/wheel/./typeguard
copying build/lib/typeguard/_functions.py ->
build/bdist.linux-x86_64/wheel/./typeguard
copying build/lib/typeguard/_transformer.py ->
build/bdist.linux-x86_64/wheel/./typeguard
copying build/lib/typeguard/_suppression.py ->
build/bdist.linux-x86_64/wheel/./typeguard
copying build/lib/typeguard/_memo.py ->
build/bdist.linux-x86_64/wheel/./typeguard
copying build/lib/typeguard/_decorators.py ->
build/bdist.linux-x86_64/wheel/./typeguard
running install_egg_info
Copying src/typeguard.egg-info to
build/bdist.linux-x86_64/wheel/./typeguard-4.4.1.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/typeguard-4.4.1.dist-info/WHEEL
creating
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_typeguard/.tmp-pltf9egu/typeguard-4.4.1-py3-none-any.whl'
and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'typeguard/__init__.py'
adding 'typeguard/_checkers.py'
adding 'typeguard/_config.py'
adding 'typeguard/_decorators.py'
adding 'typeguard/_exceptions.py'
adding 'typeguard/_functions.py'
adding 'typeguard/_importhook.py'
adding 'typeguard/_memo.py'
adding 'typeguard/_pytest_plugin.py'
adding 'typeguard/_suppression.py'
adding 'typeguard/_transformer.py'
adding 'typeguard/_union_transformer.py'
adding 'typeguard/_utils.py'
adding 'typeguard/py.typed'
adding 'typeguard-4.4.1.dist-info/LICENSE'
adding 'typeguard-4.4.1.dist-info/METADATA'
adding 'typeguard-4.4.1.dist-info/WHEEL'
adding 'typeguard-4.4.1.dist-info/entry_points.txt'
adding 'typeguard-4.4.1.dist-info/top_level.txt'
adding 'typeguard-4.4.1.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built typeguard-4.4.1-py3-none-any.whl
I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.12 with
"installer" module
I: pybuild plugin_pyproject:129: Building wheel for python3.13 with "build"
module
I: pybuild base:311: python3.13 -m build --skip-dependency-check --no-isolation
--wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_typeguard
* Building wheel...
running bdist_wheel
running build
running build_py
running egg_info
writing src/typeguard.egg-info/PKG-INFO
writing dependency_links to src/typeguard.egg-info/dependency_links.txt
writing entry points to src/typeguard.egg-info/entry_points.txt
writing requirements to src/typeguard.egg-info/requires.txt
writing top-level names to src/typeguard.egg-info/top_level.txt
reading manifest file 'src/typeguard.egg-info/SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'src/typeguard.egg-info/SOURCES.txt'
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/typeguard
copying build/lib/typeguard/_exceptions.py ->
build/bdist.linux-x86_64/wheel/./typeguard
copying build/lib/typeguard/_config.py ->
build/bdist.linux-x86_64/wheel/./typeguard
copying build/lib/typeguard/_checkers.py ->
build/bdist.linux-x86_64/wheel/./typeguard
copying build/lib/typeguard/_utils.py ->
build/bdist.linux-x86_64/wheel/./typeguard
copying build/lib/typeguard/__init__.py ->
build/bdist.linux-x86_64/wheel/./typeguard
copying build/lib/typeguard/_pytest_plugin.py ->
build/bdist.linux-x86_64/wheel/./typeguard
copying build/lib/typeguard/_importhook.py ->
build/bdist.linux-x86_64/wheel/./typeguard
copying build/lib/typeguard/_union_transformer.py ->
build/bdist.linux-x86_64/wheel/./typeguard
copying build/lib/typeguard/py.typed ->
build/bdist.linux-x86_64/wheel/./typeguard
copying build/lib/typeguard/_functions.py ->
build/bdist.linux-x86_64/wheel/./typeguard
copying build/lib/typeguard/_transformer.py ->
build/bdist.linux-x86_64/wheel/./typeguard
copying build/lib/typeguard/_suppression.py ->
build/bdist.linux-x86_64/wheel/./typeguard
copying build/lib/typeguard/_memo.py ->
build/bdist.linux-x86_64/wheel/./typeguard
copying build/lib/typeguard/_decorators.py ->
build/bdist.linux-x86_64/wheel/./typeguard
running install_egg_info
Copying src/typeguard.egg-info to
build/bdist.linux-x86_64/wheel/./typeguard-4.4.1.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/typeguard-4.4.1.dist-info/WHEEL
creating
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_typeguard/.tmp-c24eh7rq/typeguard-4.4.1-py3-none-any.whl'
and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'typeguard/__init__.py'
adding 'typeguard/_checkers.py'
adding 'typeguard/_config.py'
adding 'typeguard/_decorators.py'
adding 'typeguard/_exceptions.py'
adding 'typeguard/_functions.py'
adding 'typeguard/_importhook.py'
adding 'typeguard/_memo.py'
adding 'typeguard/_pytest_plugin.py'
adding 'typeguard/_suppression.py'
adding 'typeguard/_transformer.py'
adding 'typeguard/_union_transformer.py'
adding 'typeguard/_utils.py'
adding 'typeguard/py.typed'
adding 'typeguard-4.4.1.dist-info/LICENSE'
adding 'typeguard-4.4.1.dist-info/METADATA'
adding 'typeguard-4.4.1.dist-info/WHEEL'
adding 'typeguard-4.4.1.dist-info/entry_points.txt'
adding 'typeguard-4.4.1.dist-info/top_level.txt'
adding 'typeguard-4.4.1.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built typeguard-4.4.1-py3-none-any.whl
I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.13 with
"installer" module
dh_auto_test -O--buildsystem=pybuild
I: pybuild base:311: cd
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_typeguard/build; python3.12 -m pytest
tests
============================= test session starts ==============================
platform linux -- Python 3.12.9, pytest-8.3.4, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_typeguard/build
configfile: pyproject.toml
plugins: typeguard-4.4.1
collected 489 items
tests/mypy/test_type_annotations.py .F [ 0%]
tests/test_checkers.py ................................................. [ 10%]
........................................................................ [ 25%]
......................................................xxx............... [ 39%]
........................... [ 45%]
tests/test_importhook.py ... [ 46%]
tests/test_instrumentation.py ........xxx............................... [ 54%]
...............xxx...................................... [ 66%]
tests/test_plugins.py . [ 66%]
tests/test_pytest_plugin.py .. [ 66%]
tests/test_suppression.py ....... [ 68%]
tests/test_transformer.py .............................................. [ 77%]
....s................................. [ 85%]
tests/test_typechecked.py .............................................. [ 94%]
......... [ 96%]
tests/test_union_transformer.py .......... [ 98%]
tests/test_utils.py ..... [ 99%]
tests/test_warn_on_error.py .. [100%]
=================================== FAILURES ===================================
________________________________ test_negative _________________________________
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_typeguard/build/tests/mypy/test_type_annotations.py:113:
in test_negative
raise RuntimeError("Error messages changed")
E RuntimeError: Error messages changed
----------------------------- Captured stdout call -----------------------------
Line 11
Expected: error: Incompatible return value type (got "str", expected
"int") [return-value]
Got: error: Incompatible return value type (got "str", expected
Line 16
Expected: error: Incompatible return value type (got "str", expected
"int") [return-value]
Got: error: Incompatible return value type (got "str", expected
Line 21
Expected: error: Incompatible return value type (got "int", expected
"str") [return-value]
Got: error: Incompatible return value type (got "int", expected
Line 26
Expected: error: Incompatible return value type (got "bool", expected
"str") [return-value]
Got: error: Incompatible return value type (got "bool", expected
Line 31
Expected: error: Incompatible return value type (got "bool", expected
"str") [return-value]
Got: error: Incompatible return value type (got "bool", expected
Line 34
Expected: error: Argument 1 to "arg_type" has incompatible type
"Callable[[int], int]"; expected "int" [arg-type]
Got: error: Argument 1 to "arg_type" has incompatible type
Line 35
Expected: error: Argument 1 to "foo" has incompatible type "str";
expected "int" [arg-type]
Got: error: Argument 1 to "foo" has incompatible type "str";
Line 55
Expected: error: Argument 1 to "get_value" has incompatible type "str";
expected "MyClass" [arg-type]
Got: error: Argument 1 to "get_value" has incompatible type "str";
Line 56
Expected: error: Argument 1 to "MyClass" has incompatible type "str";
expected "int" [arg-type]
Got: error: Argument 1 to "MyClass" has incompatible type "str";
=========================== short test summary info ============================
FAILED tests/mypy/test_type_annotations.py::test_negative - RuntimeError: Err...
============= 1 failed, 478 passed, 1 skipped, 9 xfailed in 3.61s ==============
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_typeguard/build; python3.12 -m pytest
tests
I: pybuild base:311: cd
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_typeguard/build; python3.13 -m pytest
tests
============================= test session starts ==============================
platform linux -- Python 3.13.2, pytest-8.3.4, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_typeguard/build
configfile: pyproject.toml
plugins: typeguard-4.4.1
collected 489 items
tests/mypy/test_type_annotations.py .F [ 0%]
tests/test_checkers.py sss.............................................. [ 10%]
........................................................................ [ 25%]
......................................................xxx............... [ 39%]
........................... [ 45%]
tests/test_importhook.py ... [ 46%]
tests/test_instrumentation.py ........xxx............................... [ 54%]
...............xxx...................................... [ 66%]
tests/test_plugins.py . [ 66%]
tests/test_pytest_plugin.py .. [ 66%]
tests/test_suppression.py ....... [ 68%]
tests/test_transformer.py .............................................. [ 77%]
....s................................. [ 85%]
tests/test_typechecked.py .............................................. [ 94%]
......... [ 96%]
tests/test_union_transformer.py .......... [ 98%]
tests/test_utils.py ..... [ 99%]
tests/test_warn_on_error.py .. [100%]
=================================== FAILURES ===================================
________________________________ test_negative _________________________________
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_typeguard/build/tests/mypy/test_type_annotations.py:113:
in test_negative
raise RuntimeError("Error messages changed")
E RuntimeError: Error messages changed
----------------------------- Captured stdout call -----------------------------
Line 11
Expected: error: Incompatible return value type (got "str", expected
"int") [return-value]
Got: error: Incompatible return value type (got "str", expected
Line 16
Expected: error: Incompatible return value type (got "str", expected
"int") [return-value]
Got: error: Incompatible return value type (got "str", expected
Line 21
Expected: error: Incompatible return value type (got "int", expected
"str") [return-value]
Got: error: Incompatible return value type (got "int", expected
Line 26
Expected: error: Incompatible return value type (got "bool", expected
"str") [return-value]
Got: error: Incompatible return value type (got "bool", expected
Line 31
Expected: error: Incompatible return value type (got "bool", expected
"str") [return-value]
Got: error: Incompatible return value type (got "bool", expected
Line 34
Expected: error: Argument 1 to "arg_type" has incompatible type
"Callable[[int], int]"; expected "int" [arg-type]
Got: error: Argument 1 to "arg_type" has incompatible type
Line 35
Expected: error: Argument 1 to "foo" has incompatible type "str";
expected "int" [arg-type]
Got: error: Argument 1 to "foo" has incompatible type "str";
Line 55
Expected: error: Argument 1 to "get_value" has incompatible type "str";
expected "MyClass" [arg-type]
Got: error: Argument 1 to "get_value" has incompatible type "str";
Line 56
Expected: error: Argument 1 to "MyClass" has incompatible type "str";
expected "int" [arg-type]
Got: error: Argument 1 to "MyClass" has incompatible type "str";
=========================== short test summary info ============================
FAILED tests/mypy/test_type_annotations.py::test_negative - RuntimeError: Err...
============= 1 failed, 475 passed, 4 skipped, 9 xfailed in 3.32s ==============
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_typeguard/build; python3.13 -m pytest
tests
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12
3.13" returned exit code 13
make: *** [debian/rules:8: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202502/
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-typeguard, so that this is still
visible in the BTS web page for this package.
Thanks.