#1149554 python-esprima: FTBFS: AssertionError: {'type': 'Program', 'body': [{'type': 'ExpressionStatement', '[582 chars] 6}}} != {'type': 'Program', 'sourceType': 'script', 'body': [{'type': [576 chars]}}}]} #1149554
- Package:
- src:python-esprima
- Source:
- src:python-esprima
- Submitter:
- Santiago Vila
- Date:
- 2026-10-09 09:07:02 UTC
- Severity:
- normal
- Tags:
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/202609/ 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-esprima, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_python-esprima/build/test/__init__.py", line 191, in test self.assertEqual(expected, actual) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^ AssertionError: {'type': 'Program', 'body': [{'type': 'ExpressionStatement', '[582 chars] 6}}} != {'type': 'Program', 'sourceType': 'script', 'body': [{'type': [576 chars]}}}]} - {'body': [{'directive': 'Hello\\\r\nworld', ? -- + {'body': [{'directive': 'Hello\\\nworld', 'expression': {'loc': {'end': {'column': 6, 'line': 2}, 'start': {'column': 0, 'line': 1}}, - 'range': [0, 15], ? ^ + 'range': [0, 14], ? ^ - 'raw': '"Hello\\\r\nworld"', ? -- + 'raw': '"Hello\\\nworld"', 'type': 'Literal', 'value': 'Helloworld'}, 'loc': {'end': {'column': 6, 'line': 2}, 'start': {'column': 0, 'line': 1}}, - 'range': [0, 15], ? ^ + 'range': [0, 14], ? ^ 'type': 'ExpressionStatement'}], 'loc': {'end': {'column': 6, 'line': 2}, 'start': {'column': 0, 'line': 1}}, - 'range': [0, 15], ? ^ + 'range': [0, 14], ? ^ 'sourceType': 'script', 'tokens': [{'loc': {'end': {'column': 6, 'line': 2}, 'start': {'column': 0, 'line': 1}}, - 'range': [0, 15], ? ^ + 'range': [0, 14], ? ^ 'type': 'String', - 'value': '"Hello\\\r\nworld"'}], ? -- + 'value': '"Hello\\\nworld"'}], 'type': 'Program'}---------------------------------------------------------------------- Ran 1370 tests in 0.952s FAILED (failures=7, expected failures=57) E: pybuild pybuild:485: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_python-esprima/build; python3.14 -m unittest discover -v dh_auto_test: error: pybuild --test -i python{version} -p 3.14 --parallel=1 returned exit code 13 make: *** [debian/rules:6: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2 --------------------------------------------------------------------------------
We believe that the bug you reported is fixed in the latest version of
python-esprima, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1149554@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Étienne Mollier <emollier@debian.org> (supplier of updated python-esprima package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Fri, 09 Oct 2026 10:38:37 +0200
Source: python-esprima
Architecture: source
Version: 4.0.1-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Étienne Mollier <emollier@debian.org>
Closes: 1149554
Changes:
python-esprima (4.0.1-2) unstable; urgency=medium
.
* tests-adjustments.patch: skip fragile tests. (Closes: #1149554)
* d/control: declare compliance to standards version 4.7.4.
* d/control: bump to debhelper-compat 14.
This introduces dh-sequence-single-binary mode.
Checksums-Sha1:
7fb341a905bd38166da2fb27220817da7b859b7f 2284 python-esprima_4.0.1-2.dsc
ddf8741c2512a4aa8b83be097e9170b4ca475041 6200 python-esprima_4.0.1-2.debian.tar.xz
Checksums-Sha256:
17565c97218df2b38e9cf346c918f6e56c1d2dc3feac9b1030c70c742fc9c8df 2284 python-esprima_4.0.1-2.dsc
2ade87ef232640ea45d56f24f4a0e5f6af0bd24d2290d34d572b37b9ba07f749 6200 python-esprima_4.0.1-2.debian.tar.xz
Files:
2a0800c4b0be6f8f9e3233676e823d50 2284 python optional python-esprima_4.0.1-2.dsc
d382097f2ceca319391e09eb31a4bacd 6200 python optional python-esprima_4.0.1-2.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQJIBAEBCgAyFiEEj5GyJ8fW8rGUjII2eTz2fo8NEdoFAmrIqTYUHGVtb2xsaWVy
QGRlYmlhbi5vcmcACgkQeTz2fo8NEdrcaRAAgoUuTvtiVSg+6gUEfQ8dfIQ/xhKd
14YzNl+OvYF0b3fnTqS7MWFglDd0sob+qiT9M1SxrVPNg74Jc2uHFO6YTade/n/+
ojrbjMQohZjDHFXhI82ZNKEz9Go3WxxWQPSAH1mhTiR/uqjg/aZFbeq2dRss82XF
PESzlTkbuxnCUkCqTZXVI+2FudknwvNQWlFzXIRx3coYF2r/pd6EZPXKUsslpJ7S
Lxz1N/xJsHaOlT0eM9QbzXhpdLNfgUnAsPrVCaERoyPdoJxxiPFjOcHWcj4XPiXV
5jflUzfDpxrgGnq6JaJjDOUtPFVYv2E2O15dD69jnpyW8Tbw1c+Jt9HfO+Vv/xQP
Qpzci//Usv+/fEsEryN9hCX3+JDvnF5dO1GWdsjpnVL2LOymeE6+dP09pSMCA4cl
bUidwMY7/nzjgERg1RtQumb3N4/4Aux2vRclmiZRpTw0PT5Z0hy9EWCzN7rghDoL
kYBRlm+/TafrFrDufK9m711KiFyQu3t+/DKbzs30mkfAkqCff4SGaJozEx7B8ulB
4tr4+SCuXjJqZqQkJ15n0CxKh5xfSj4jScf1CpUFw1yOdpQCUOLYetYwqbeg0sN6
Y06awTyEbeCgSMC9S8ccW9tIJ1iJNO9vpbka2jxzg8Gt8Rkm3IM3uJ/Q36sWqGyK
u570pFrOt7KLr78=
=6/Aa
-----END PGP SIGNATURE-----