#1152575 python-tatsu: FTBFS: E ValueError: invalid literal for int() with base 10: '.1'

#1152575#5
Date:
2026-10-30 11:23:17 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/202610/

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-tatsu, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
    version_info = Version.parse(version).astuple()
                   ^^^^^^^^^^^^^^^^^^^^^^
tatsu/util/version.py:135: in parse
    serial = int(serial) if serial else None  # type: ignore
             ^^^^^^^^^^^
E   ValueError: invalid literal for int() with base 10: '.1'
=========================== short test summary info ============================
ERROR tests/ast_test.py - ValueError: invalid literal for int() with base 10:...
ERROR tests/benchmarks/bench_parse_test.py - ValueError: invalid literal for ...
ERROR tests/buffering_test.py - ValueError: invalid literal for int() with ba...
ERROR tests/codegen_test.py - ValueError: invalid literal for int() with base...
ERROR tests/diagram_test.py - ValueError: invalid literal for int() with base...
ERROR tests/exceptions_test.py - ValueError: invalid literal for int() with b...
ERROR tests/g2e_test.py - ValueError: invalid literal for int() with base 10:...
ERROR tests/grammar/alerts_test.py - ValueError: invalid literal for int() wi...
ERROR tests/grammar/constants_test.py - ValueError: invalid literal for int()...
ERROR tests/grammar/defines_test.py - ValueError: invalid literal for int() w...
ERROR tests/grammar/directive_test.py - ValueError: invalid literal for int()...
ERROR tests/grammar/ebnf_test.py - ValueError: invalid literal for int() with...
ERROR tests/grammar/eol_test.py - ValueError: invalid literal for int() with ...
ERROR tests/grammar/firstfollow_test.py - ValueError: invalid literal for int...
ERROR tests/grammar/join_test.py - ValueError: invalid literal for int() with...
ERROR tests/grammar/keyword_test.py - ValueError: invalid literal for int() w...
ERROR tests/grammar/left_recursion_test.py - ValueError: invalid literal for ...
ERROR tests/grammar/lookahead_test.py - ValueError: invalid literal for int()...
ERROR tests/grammar/parameter_test.py - ValueError: invalid literal for int()...
ERROR tests/grammar/pattern_test.py - ValueError: invalid literal for int() w...
ERROR tests/grammar/pretty_test.py - ValueError: invalid literal for int() wi...
ERROR tests/grammar/return_value_test.py - ValueError: invalid literal for in...
ERROR tests/grammar/semantics_test.py - ValueError: invalid literal for int()...
ERROR tests/grammar/string_test.py - ValueError: invalid literal for int() wi...
ERROR tests/grammar/syntax_test.py - ValueError: invalid literal for int() wi...
ERROR tests/json_import_test.py - ValueError: invalid literal for int() with ...
ERROR tests/model_test.py - ValueError: invalid literal for int() with base 1...
ERROR tests/ngmodel_test.py - ValueError: invalid literal for int() with base...
ERROR tests/parser_equivalence_test.py - ValueError: invalid literal for int(...
ERROR tests/parsing_test.py - ValueError: invalid literal for int() with base...
ERROR tests/pickle_test.py - ValueError: invalid literal for int() with base ...
ERROR tests/railroads_test.py - ValueError: invalid literal for int() with ba...
ERROR tests/syntax/meta_test.py - ValueError: invalid literal for int() with ...
ERROR tests/tree_test.py - ValueError: invalid literal for int() with base 10...
ERROR tests/util/fromjson_test.py - ValueError: invalid literal for int() wit...
ERROR tests/util/ideps_test.py - ValueError: invalid literal for int() with b...
ERROR tests/walker_test.py - ValueError: invalid literal for int() with base ...
ERROR tests/z_bootstrap_test.py - ValueError: invalid literal for int() with ...
!!!!!!!!!!!!!!!!!!! Interrupted: 38 errors during collection !!!!!!!!!!!!!!!!!!!
38 errors in 0.65s
E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=2: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_tatsu/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:13: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------