Bug#1122069: FTBFS with Python 3.14: sys.getrefcount() AssertionError

Andrey Rakhmatullin wrar at debian.org
Sat Dec 6 15:42:48 GMT 2025


Source: fenics-dolfinx
Version: 1:0.9.0-11
Severity: serious
Tags: ftbfs
User: debian-python at lists.debian.org
Usertags: python3.14

____________________________ test_mpi_comm_refcount
____________________________

    def test_mpi_comm_refcount():
        """Test MPICommWrapper <-> mpi4py.MPI.Comm reference counting"""
        comm0 = MPI.COMM_WORLD
        m = create_unit_square(comm0, 4, 4)
        comm1 = m.comm
        assert comm1 != comm0
        comm2 = m.comm
        assert comm2 == comm1

        del m
>       assert sys.getrefcount(comm1) == 2
E       assert 1 == 2
E        +  where 1 = <built-in function getrefcount>(<mpi4py.MPI.Intracomm
object at 0x7feff53498c0>)
E        +    where <built-in function getrefcount> = sys.getrefcount

test/unit/common/test_mpi.py:34: AssertionError



https://buildd.debian.org/status/fetch.php?pkg=fenics-
dolfinx&arch=amd64&ver=1%3A0.9.0-11%2Bb1&stamp=1765035127&raw=0


-- System Information:
Debian Release: forky/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.17.7+deb14+1-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled



More information about the debian-science-maintainers mailing list