Package: src:python-typing-inspect Version: 0.9.0-1 Severity: serious Tags: ftbfs forky sid
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/202512/ 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-typing-inspect, 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:317: python3.14 setup.py clean /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.14_python-typing-inspect/build' (and everything under it) 'build/bdist.linux-x86_64' does not exist -- can't clean it 'build/scripts-3.14' does not exist -- can't clean it I: pybuild base:317: python3.13 setup.py clean /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_python-typing-inspect/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:317: python3.14 setup.py config /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 I: pybuild base:317: python3.13 setup.py config /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:317: /usr/bin/python3.14 setup.py build /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 copying typing_inspect.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_python-typing-inspect/build I: pybuild base:317: /usr/bin/python3 setup.py build /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 copying typing_inspect.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_python-typing-inspect/build dh_auto_test -O--buildsystem=pybuild I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_python-typing-inspect/build; python3.14 -m pytest ============================= test session starts ============================== platform linux -- Python 3.14.2, pytest-9.0.2, pluggy-1.6.0 rootdir: /<<PKGBUILDDIR>> plugins: typeguard-4.4.4 collected 25 items test_typing_inspect.py ............s......ss.FF. [100%] =================================== FAILURES =================================== ______________________ GetUtilityTestCase.test_parameters ______________________ self = <test_typing_inspect.GetUtilityTestCase testMethod=test_parameters> def test_parameters(self): T = TypeVar('T') S_co = TypeVar('S_co', covariant=True) U = TypeVar('U') self.assertEqual(get_parameters(int), ()) self.assertEqual(get_parameters(Generic), ()) self.assertEqual(get_parameters(Union), ()) if not LEGACY_TYPING: self.assertEqual(get_parameters(List[int]), ()) if PY39: self.assertEqual(get_parameters(List), ()) else: self.assertEqual(get_parameters(List), (typing_T,)) else: # in 3.5.3 a list has no __args__ and instead they are used in __parameters__ # in 3.5.1 the behaviour is normal again. pass self.assertEqual(get_parameters(Generic[T]), (T,)) self.assertEqual(get_parameters(Tuple[List[T], List[S_co]]), (T, S_co)) if EXISTING_UNIONS_SUBSCRIPTABLE: > self.assertEqual(get_parameters(Union[S_co, Tuple[T, T]][int, U]), > (U,)) E AssertionError: Tuples differ: () != (~U,) E E Second tuple contains 1 additional elements. E First extra element 0: E ~U E E - () E + (~U,) test_typing_inspect.py:378: AssertionError ______________ GetUtilityTestCase.test_typed_dict_mypy_extension _______________ self = <test_typing_inspect.GetUtilityTestCase testMethod=test_typed_dict_mypy_extension> @skipUnless(PY36, "Python 3.6 required") def test_typed_dict_mypy_extension(self): TDOld = METypedDict("TDOld", {'x': int, 'y': int}) > self.assertEqual(typed_dict_keys(TDM), {'x': int, 'y': int}) E AssertionError: {} != {'x': <class 'int'>, 'y': <class 'int'>} E - {} E + {'x': <class 'int'>, 'y': <class 'int'>} test_typing_inspect.py:497: AssertionError =============================== warnings summary =============================== <string>:2 <string>:2: DeprecationWarning: mypy_extensions.TypedDict is deprecated, and will be removed in a future version. Use typing.TypedDict or typing_extensions.TypedDict instead. .pybuild/cpython3_3.14_python-typing-inspect/build/test_typing_inspect.py::GetUtilityTestCase::test_typed_dict_mypy_extension /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_python-typing-inspect/build/test_typing_inspect.py:496: DeprecationWarning: mypy_extensions.TypedDict is deprecated, and will be removed in a future version. Use typing.TypedDict or typing_extensions.TypedDict instead. TDOld = METypedDict("TDOld", {'x': int, 'y': int}) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED test_typing_inspect.py::GetUtilityTestCase::test_parameters - Assertio... FAILED test_typing_inspect.py::GetUtilityTestCase::test_typed_dict_mypy_extension ============= 2 failed, 20 passed, 3 skipped, 2 warnings in 0.05s ============== E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_python-typing-inspect/build; python3.14 -m pytest I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_python-typing-inspect/build; python3.13 -m pytest ============================= test session starts ============================== platform linux -- Python 3.13.11, pytest-9.0.2, pluggy-1.6.0 rootdir: /<<PKGBUILDDIR>> plugins: typeguard-4.4.4 collected 25 items test_typing_inspect.py ............s......ss.... [100%] =============================== warnings summary =============================== <string>:2 <string>:2: DeprecationWarning: mypy_extensions.TypedDict is deprecated, and will be removed in a future version. Use typing.TypedDict or typing_extensions.TypedDict instead. .pybuild/cpython3_3.13_python-typing-inspect/build/test_typing_inspect.py::GetUtilityTestCase::test_typed_dict_mypy_extension /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_python-typing-inspect/build/test_typing_inspect.py:496: DeprecationWarning: mypy_extensions.TypedDict is deprecated, and will be removed in a future version. Use typing.TypedDict or typing_extensions.TypedDict instead. TDOld = METypedDict("TDOld", {'x': int, 'y': int}) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ================== 22 passed, 3 skipped, 2 warnings in 0.03s =================== dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 3.13" returned exit code 13 make: *** [debian/rules:6: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 --------------------------------------------------------------------------------

