Package: src:python-untokenize
Version: 0.1.1-3
Severity: serious
Tags: ftbfs
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
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:311: python3.12 setup.py config
/<<PKGBUILDDIR>>/setup.py:14: DeprecationWarning: Attribute s is deprecated and
will be removed in Python 3.14; use value instead
return ast.parse(line).body[0].value.s
dh_auto_build -O--buildsystem=pybuild
I: pybuild base:311: /usr/bin/python3 setup.py build
/<<PKGBUILDDIR>>/setup.py:14: DeprecationWarning: Attribute s is deprecated and
will be removed in Python 3.14; use value instead
return ast.parse(line).body[0].value.s
debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
for PY3VER in 3.12; do \
python$PY3VER test_untokenize.py; \
done
......
----------------------------------------------------------------------
Ran 6 tests in 0.000s
OK
for PY3VER in 3.12; do \
python$PY3VER test_acid.py; \
done
---> Testing with /<<PKGBUILDDIR>>/test_untokenize.py
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/test_acid.py", line 159, in <module>
sys.exit(main())
^^^^^^
File "/<<PKGBUILDDIR>>/test_acid.py", line 154, in main
return 0 if check(process_args()) else 1
^^^^^^^^^^^^^^^^^^^^^
File "/<<PKGBUILDDIR>>/test_acid.py", line 139, in check
if not run(os.path.join(name)):
^^^^^^^^^^^^^^^^^^^^^^^
File "/<<PKGBUILDDIR>>/test_acid.py", line 67, in run
encoding=detect_encoding(filename)) as input_file:
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/<<PKGBUILDDIR>>/test_acid.py", line 39, in detect_encoding
from lib2to3.pgen2 import tokenize as lib2to3_tokenize
ModuleNotFoundError: No module named 'lib2to3'
make[1]: *** [debian/rules:11: override_dh_auto_test] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:6: binary] Error 2
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/202407/
About the archive rebuild: The build was made on virtual machines
of type m6a.large and r6a.large 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 affects, so that this is still visible in the BTS web
page for this package.
Thanks.