Package: src:pyflakes Version: 3.2.0-3 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:pyflakes, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] debian/rules clean dh clean --buildsystem=pybuild dh_auto_clean -O--buildsystem=pybuild I: pybuild base:317: python3.14 setup.py clean /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 :: 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_pyflakes/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/_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 :: 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_pyflakes/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 --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/_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 :: 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/_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 :: 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/_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 :: 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 creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_pyflakes/build/pyflakes copying pyflakes/reporter.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_pyflakes/build/pyflakes copying pyflakes/__main__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_pyflakes/build/pyflakes copying pyflakes/checker.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_pyflakes/build/pyflakes copying pyflakes/messages.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_pyflakes/build/pyflakes copying pyflakes/api.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_pyflakes/build/pyflakes copying pyflakes/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_pyflakes/build/pyflakes creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_pyflakes/build/pyflakes/scripts copying pyflakes/scripts/pyflakes.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_pyflakes/build/pyflakes/scripts copying pyflakes/scripts/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_pyflakes/build/pyflakes/scripts creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_pyflakes/build/pyflakes/test copying pyflakes/test/test_doctests.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_pyflakes/build/pyflakes/test copying pyflakes/test/test_undefined_names.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_pyflakes/build/pyflakes/test copying pyflakes/test/test_code_segment.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_pyflakes/build/pyflakes/test copying pyflakes/test/test_other.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_pyflakes/build/pyflakes/test copying pyflakes/test/test_match.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_pyflakes/build/pyflakes/test copying pyflakes/test/test_api.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_pyflakes/build/pyflakes/test copying pyflakes/test/test_type_annotations.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_pyflakes/build/pyflakes/test copying pyflakes/test/test_imports.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_pyflakes/build/pyflakes/test copying pyflakes/test/test_builtin.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_pyflakes/build/pyflakes/test copying pyflakes/test/test_dict.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_pyflakes/build/pyflakes/test copying pyflakes/test/harness.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_pyflakes/build/pyflakes/test copying pyflakes/test/test_is_literal.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_pyflakes/build/pyflakes/test copying pyflakes/test/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_pyflakes/build/pyflakes/test I: pybuild base:317: /usr/bin/python3 setup.py build /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 :: 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 creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pyflakes/build/pyflakes copying pyflakes/reporter.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pyflakes/build/pyflakes copying pyflakes/__main__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pyflakes/build/pyflakes copying pyflakes/checker.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pyflakes/build/pyflakes copying pyflakes/messages.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pyflakes/build/pyflakes copying pyflakes/api.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pyflakes/build/pyflakes copying pyflakes/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pyflakes/build/pyflakes creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pyflakes/build/pyflakes/scripts copying pyflakes/scripts/pyflakes.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pyflakes/build/pyflakes/scripts copying pyflakes/scripts/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pyflakes/build/pyflakes/scripts creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pyflakes/build/pyflakes/test copying pyflakes/test/test_doctests.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pyflakes/build/pyflakes/test copying pyflakes/test/test_undefined_names.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pyflakes/build/pyflakes/test copying pyflakes/test/test_code_segment.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pyflakes/build/pyflakes/test copying pyflakes/test/test_other.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pyflakes/build/pyflakes/test copying pyflakes/test/test_match.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pyflakes/build/pyflakes/test copying pyflakes/test/test_api.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pyflakes/build/pyflakes/test copying pyflakes/test/test_type_annotations.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pyflakes/build/pyflakes/test copying pyflakes/test/test_imports.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pyflakes/build/pyflakes/test copying pyflakes/test/test_builtin.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pyflakes/build/pyflakes/test copying pyflakes/test/test_dict.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pyflakes/build/pyflakes/test copying pyflakes/test/harness.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pyflakes/build/pyflakes/test copying pyflakes/test/test_is_literal.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pyflakes/build/pyflakes/test copying pyflakes/test/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pyflakes/build/pyflakes/test dh_auto_test -O--buildsystem=pybuild I: pybuild pybuild:308: mkdir -p /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_pyflakes/build/bin && ln -s /<<PKGBUILDDIR>>/bin/pyflakes /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_pyflakes/build/bin/pyflakes I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_pyflakes/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 730 items pyflakes/test/test_api.py ........................................ [ 5%] pyflakes/test/test_builtin.py .. [ 5%] pyflakes/test/test_code_segment.py ..... [ 6%] pyflakes/test/test_dict.py ......................... [ 9%] pyflakes/test/test_doctests.py .................s....................... [ 15%] ......................FF.......s........................................ [ 25%] ........................................................................ [ 35%] ...............ss..s..........s.......s.............. [ 42%] pyflakes/test/test_imports.py ...........................FF.......s..... [ 48%] ........................................................................ [ 58%] ................... [ 60%] pyflakes/test/test_is_literal.py ............................... [ 64%] pyflakes/test/test_match.py ........ [ 66%] pyflakes/test/test_other.py .................s.......................... [ 72%] .........................................s.............................. [ 81%] .............. [ 83%] pyflakes/test/test_type_annotations.py ................................. [ 88%] .................. [ 90%] pyflakes/test/test_undefined_names.py .................................. [ 95%] ...............ss..s..........s.. [100%] =================================== FAILURES =================================== ______________________ TestImports.test_futureImportStar _______________________ self = <pyflakes.test.test_doctests.TestImports testMethod=test_futureImportStar> def test_futureImportStar(self): """Importing '*' from __future__ fails.""" > self.flakes(''' from __future__ import * ''', m.FutureFeatureNotDefined) pyflakes/test/test_imports.py:1001: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyflakes/test/test_doctests.py:45: in flakes return super().flakes(self.doctestify(input), *args, **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ pyflakes/test/harness.py:27: in flakes self.assertEqual(outputs, expectedOutputs, '''\ E AssertionError: Lists differ: [<class 'pyflakes.messages.DoctestSyntaxError'>] != [<class 'pyflakes.messages.FutureFeatureNotDefined'>] E E First differing element 0: E <class 'pyflakes.messages.DoctestSyntaxError'> E <class 'pyflakes.messages.FutureFeatureNotDefined'> E E - [<class 'pyflakes.messages.DoctestSyntaxError'>] E + [<class 'pyflakes.messages.FutureFeatureNotDefined'>] : for input: E def doctest_something(): E """ E E >>> from __future__ import * E """ E E expected outputs: E [<class 'pyflakes.messages.FutureFeatureNotDefined'>] E but got: E (none):4:36: syntax error in doctest ____________________ TestImports.test_futureImportUndefined ____________________ self = <pyflakes.test.test_doctests.TestImports testMethod=test_futureImportUndefined> def test_futureImportUndefined(self): """Importing undefined names from __future__ fails.""" > self.flakes(''' from __future__ import print_statement ''', m.FutureFeatureNotDefined) pyflakes/test/test_imports.py:995: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyflakes/test/test_doctests.py:45: in flakes return super().flakes(self.doctestify(input), *args, **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ pyflakes/test/harness.py:27: in flakes self.assertEqual(outputs, expectedOutputs, '''\ E AssertionError: Lists differ: [<class 'pyflakes.messages.DoctestSyntaxError'>] != [<class 'pyflakes.messages.FutureFeatureNotDefined'>] E E First differing element 0: E <class 'pyflakes.messages.DoctestSyntaxError'> E <class 'pyflakes.messages.FutureFeatureNotDefined'> E E - [<class 'pyflakes.messages.DoctestSyntaxError'>] E + [<class 'pyflakes.messages.FutureFeatureNotDefined'>] : for input: E def doctest_something(): E """ E E >>> from __future__ import print_statement E """ E E expected outputs: E [<class 'pyflakes.messages.FutureFeatureNotDefined'>] E but got: E (none):4:36: syntax error in doctest __________________________ Test.test_futureImportStar __________________________ self = <pyflakes.test.test_imports.Test testMethod=test_futureImportStar> def test_futureImportStar(self): """Importing '*' from __future__ fails.""" > self.flakes(''' from __future__ import * ''', m.FutureFeatureNotDefined) pyflakes/test/test_imports.py:1001: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyflakes/test/harness.py:18: in flakes tree = ast.parse(textwrap.dedent(input)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ source = '\nfrom __future__ import *\n', filename = '<unknown>', mode = 'exec' def parse(source, filename='<unknown>', mode='exec', *, type_comments=False, feature_version=None, optimize=-1): """ Parse the source into an AST node. Equivalent to compile(source, filename, mode, PyCF_ONLY_AST). Pass type_comments=True to get back type comments where the syntax allows. """ flags = PyCF_ONLY_AST if optimize > 0: flags |= PyCF_OPTIMIZED_AST if type_comments: flags |= PyCF_TYPE_COMMENTS if feature_version is None: feature_version = -1 elif isinstance(feature_version, tuple): major, minor = feature_version # Should be a 2-tuple. if major != 3: raise ValueError(f"Unsupported major version: {major}") feature_version = minor # Else it should be an int giving the minor version for 3.x. > return compile(source, filename, mode, flags, _feature_version=feature_version, optimize=optimize) E File "<unknown>", line 2 E SyntaxError: future feature * is not defined /usr/lib/python3.14/ast.py:46: SyntaxError _______________________ Test.test_futureImportUndefined ________________________ self = <pyflakes.test.test_imports.Test testMethod=test_futureImportUndefined> def test_futureImportUndefined(self): """Importing undefined names from __future__ fails.""" > self.flakes(''' from __future__ import print_statement ''', m.FutureFeatureNotDefined) pyflakes/test/test_imports.py:995: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyflakes/test/harness.py:18: in flakes tree = ast.parse(textwrap.dedent(input)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ source = '\nfrom __future__ import print_statement\n', filename = '<unknown>' mode = 'exec' def parse(source, filename='<unknown>', mode='exec', *, type_comments=False, feature_version=None, optimize=-1): """ Parse the source into an AST node. Equivalent to compile(source, filename, mode, PyCF_ONLY_AST). Pass type_comments=True to get back type comments where the syntax allows. """ flags = PyCF_ONLY_AST if optimize > 0: flags |= PyCF_OPTIMIZED_AST if type_comments: flags |= PyCF_TYPE_COMMENTS if feature_version is None: feature_version = -1 elif isinstance(feature_version, tuple): major, minor = feature_version # Should be a 2-tuple. if major != 3: raise ValueError(f"Unsupported major version: {major}") feature_version = minor # Else it should be an int giving the minor version for 3.x. > return compile(source, filename, mode, flags, _feature_version=feature_version, optimize=optimize) E File "<unknown>", line 2 E SyntaxError: future feature print_statement is not defined /usr/lib/python3.14/ast.py:46: SyntaxError =========================== short test summary info ============================ FAILED pyflakes/test/test_doctests.py::TestImports::test_futureImportStar - A... FAILED pyflakes/test/test_doctests.py::TestImports::test_futureImportUndefined FAILED pyflakes/test/test_imports.py::Test::test_futureImportStar - File "<... FAILED pyflakes/test/test_imports.py::Test::test_futureImportUndefined - Fi... ================== 4 failed, 712 passed, 14 skipped in 1.08s =================== E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_pyflakes/build; python3.14 -m pytest I: pybuild pybuild:308: mkdir -p /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pyflakes/build/bin && ln -s /<<PKGBUILDDIR>>/bin/pyflakes /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pyflakes/build/bin/pyflakes I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pyflakes/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 730 items pyflakes/test/test_api.py ........................................ [ 5%] pyflakes/test/test_builtin.py .. [ 5%] pyflakes/test/test_code_segment.py ..... [ 6%] pyflakes/test/test_dict.py ......................... [ 9%] pyflakes/test/test_doctests.py .................s....................... [ 15%] ...............................s........................................ [ 25%] ........................................................................ [ 35%] ...............ss..s..........s.......s.............. [ 42%] pyflakes/test/test_imports.py ....................................s..... [ 48%] ........................................................................ [ 58%] ................... [ 60%] pyflakes/test/test_is_literal.py ............................... [ 64%] pyflakes/test/test_match.py ........ [ 66%] pyflakes/test/test_other.py .................s.......................... [ 72%] .........................................s.............................. [ 81%] .............. [ 83%] pyflakes/test/test_type_annotations.py ................................. [ 88%] .................. [ 90%] pyflakes/test/test_undefined_names.py .................................. [ 95%] ...............ss..s..........s.. [100%] ======================= 716 passed, 14 skipped in 0.89s ======================== I: pybuild pybuild:334: rm -rf /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pyflakes/build/bin dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 3.13" returned exit code 13 make: *** [debian/rules:15: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 --------------------------------------------------------------------------------

