Your message dated Thu, 11 Jun 2026 13:06:07 +0000
with message-id <[email protected]>
and subject line Bug#1139669: fixed in python-fissix 24.4.24-3
has caused the Debian Bug report #1139669,
regarding python-fissix: FTBFS: TestPgen2Caching.test_load_packaged_grammar 
fails randomly
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1139669: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1139669
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:python-fissix
Version: 24.4.24-2
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/202606/

Notes:

1. This happens randomly, but the failure rate is around 50%.

2. Similar failures may be found here:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/python-fissix.html

3. The VM offer below should be understood as "a machine where it fails 50% of 
the time".

4. I have no idea if this is an upstream bug, a Debian bug, or a combination of 
both,
so I'm not brave enough to forward it upstream until someone who knows better
can look at it.


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

Thanks.

--------------------------------------------------------------------------------
[...]
============================= test session starts ==============================
platform linux -- Python 3.14.5, pytest-9.0.3, pluggy-1.6.0
rootdir: /<<PKGBUILDDIR>>
configfile: pyproject.toml
collected 669 items

tests/test_all_fixers.py .                                               [  0%]
tests/test_fixers.py ................................................... [  7%]
........................................................................ [ 18%]
........................................................................ [ 29%]
........................................................................ [ 40%]
........................................................................ [ 50%]
........................................................................ [ 61%]
...........................................................              [ 70%]
tests/test_main.py xxx.                                                  [ 71%]
tests/test_parser.py ..x.F.............................................. [ 78%]
...............................................                          [ 85%]
tests/test_pytree.py ....................................                [ 91%]
tests/test_refactor.py ....................                              [ 94%]
tests/test_util.py ........................................              [100%]

=================================== FAILURES ===================================
_________________ TestPgen2Caching.test_load_packaged_grammar __________________

self = <tests.test_parser.TestPgen2Caching 
testMethod=test_load_packaged_grammar>

    def test_load_packaged_grammar(self):
        modname = __name__ + ".load_test"
    
        class MyLoader:
            def get_data(self, where):
                return pickle.dumps({"elephant": 19})
    
        class MyModule:
            __file__ = "parsertestmodule"
            __spec__ = importlib.util.spec_from_loader(modname, MyLoader())
    
        sys.modules[modname] = MyModule()
        self.addCleanup(operator.delitem, sys.modules, modname)
        g = pgen2_driver.load_packaged_grammar(modname, "Grammar.txt")
>       self.assertEqual(g.elephant, 19)
                         ^^^^^^^^^^
E       AttributeError: 'Grammar' object has no attribute 'elephant'

tests/test_parser.py:127: AttributeError
=========================== short test summary info ============================
FAILED tests/test_parser.py::TestPgen2Caching::test_load_packaged_grammar - A...
================== 1 failed, 664 passed, 4 xfailed in 15.21s ===================
E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_fissix/build; python3.14 -m pytest tests
I: pybuild base:385: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_fissix/build; 
python3.13 -m pytest tests
============================= test session starts ==============================
platform linux -- Python 3.13.12, pytest-9.0.3, pluggy-1.6.0
rootdir: /<<PKGBUILDDIR>>
configfile: pyproject.toml
collected 669 items

tests/test_all_fixers.py .                                               [  0%]
tests/test_fixers.py ................................................... [  7%]
........................................................................ [ 18%]
........................................................................ [ 29%]
........................................................................ [ 40%]
........................................................................ [ 50%]
........................................................................ [ 61%]
...........................................................              [ 70%]
tests/test_main.py xxx.                                                  [ 71%]
tests/test_parser.py ..x.F.............................................. [ 78%]
...............................................                          [ 85%]
tests/test_pytree.py ....................................                [ 91%]
tests/test_refactor.py ....................                              [ 94%]
tests/test_util.py ........................................              [100%]

=================================== FAILURES ===================================
_________________ TestPgen2Caching.test_load_packaged_grammar __________________

self = <tests.test_parser.TestPgen2Caching 
testMethod=test_load_packaged_grammar>

    def test_load_packaged_grammar(self):
        modname = __name__ + ".load_test"
    
        class MyLoader:
            def get_data(self, where):
                return pickle.dumps({"elephant": 19})
    
        class MyModule:
            __file__ = "parsertestmodule"
            __spec__ = importlib.util.spec_from_loader(modname, MyLoader())
    
        sys.modules[modname] = MyModule()
        self.addCleanup(operator.delitem, sys.modules, modname)
        g = pgen2_driver.load_packaged_grammar(modname, "Grammar.txt")
>       self.assertEqual(g.elephant, 19)
                         ^^^^^^^^^^
E       AttributeError: 'Grammar' object has no attribute 'elephant'

tests/test_parser.py:127: AttributeError
=========================== short test summary info ============================
FAILED tests/test_parser.py::TestPgen2Caching::test_load_packaged_grammar - A...
================== 1 failed, 664 passed, 4 xfailed in 15.93s ===================
E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_fissix/build; python3.13 -m pytest tests
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 
3.13" --parallel=2 returned exit code 13
make: *** [debian/rules:8: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit 
status 2
--------------------------------------------------------------------------------

--- End Message ---
--- Begin Message ---
Source: python-fissix
Source-Version: 24.4.24-3
Done: Santiago Vila <[email protected]>

We believe that the bug you reported is fixed in the latest version of
python-fissix, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Santiago Vila <[email protected]> (supplier of updated python-fissix 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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 11 Jun 2026 14:40:00 +0200
Source: python-fissix
Architecture: source
Version: 24.4.24-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Santiago Vila <[email protected]>
Closes: 1139669
Changes:
 python-fissix (24.4.24-3) unstable; urgency=medium
 .
   * Team upload.
 .
   [ Alexandre Detiste ]
   * Reformat d/control with debputy.
   * Import 2to3 cli from python3-defaults.
 .
   [ Nicholas D Steeves ]
   * Drop myself from Uploaders.
 .
   [ Mahangu Weerasinghe ]
   * Add myself to Uploaders.
   * Install 2to3 CLI command and man page.
 .
   [ Santiago Vila ]
   * Fix test_load_packaged_grammar. Closes: #1139669.
   * Drop "Rules-Requires-Root: no" (default).
   * Drop "Priority: optional" (default).
   * Update standards-version.
   * Add debian/salsa-ci.yml.
Checksums-Sha1:
 67ed5537351a3298b0ff7d0aaebc09c5b3cba49b 1830 python-fissix_24.4.24-3.dsc
 7766591a1e4c52b38658bbebcc5f3366c0bd5bc3 6404 
python-fissix_24.4.24-3.debian.tar.xz
 e6660b1b39e7175e278ad8b66b1884ed6ab91b1a 6524 
python-fissix_24.4.24-3_source.buildinfo
Checksums-Sha256:
 282ae79e5f6232df11143ecd577018fe10da2211ce43176de8b4b1cf26b86d16 1830 
python-fissix_24.4.24-3.dsc
 4f8c779c778fa7784ce395b8574ae520a3d207357f02b326689ec45a3f247aef 6404 
python-fissix_24.4.24-3.debian.tar.xz
 54f28548abcbd71c20e1160f61e691035bd0b29c828e486496b69fabf451b0f2 6524 
python-fissix_24.4.24-3_source.buildinfo
Files:
 6b5907adaf6e1e7ee244ab5ef62d7d5c 1830 python optional 
python-fissix_24.4.24-3.dsc
 6ef1e86fc600d27d68a68a59c8410b9f 6404 python optional 
python-fissix_24.4.24-3.debian.tar.xz
 527e60a0d2a4bb706342b03f38ba5e20 6524 python optional 
python-fissix_24.4.24-3_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEE1Uw7+v+wQt44LaXXQc5/C58bizIFAmoqrhQACgkQQc5/C58b
izLgiggAiwhKOj5XzppPCCrcYsAR38GmrjjjmFi9WdUocZ9Y9+VOBxTWPNC0pjOz
WDD33DzUn1ntEJXE/AIzPDn2ArKsWH8iprXujGdhm8rORiQNnhWHzBAztSgX4e7/
4MPfBt24pbbM95JjjyD68APcR56l5+ukfUAOiK2zf5eewPjcQs62Cs3gR92oWrAc
kNYmxNTytnIoIBKUdgedNGwry1RZLptvShztD3w9F1husSD4bbAhlPtlL1smqr/B
pZvRx6ObdE/WkIKfbso+J5Xr+VKS1hd1qaG2frm7icrJOKoxWXWWeERMU4nvV46l
R9Nm8VWt0Q/PhN7v0AjTpnVfgrmfog==
=1xFN
-----END PGP SIGNATURE-----

Attachment: pgpqxAGLHTXSb.pgp
Description: PGP signature


--- End Message ---

Reply via email to