Bug#1121955: FTBFS with Python 3.14: AssertionError: Regex pattern did not match.

Andrey Rakhmatullin wrar at debian.org
Fri Dec 5 07:40:20 GMT 2025


Source: pandas
Version: 2.3.3+dfsg-2
Severity: serious
Tags: ftbfs

At least two failures:

-------------------------

        msg = "|".join(
            [
                r"only list-like( or dict-like)? objects are allowed to be "
                r"passed to (DataFrame\.)?isin\(\), you passed a "
                r"(`|')bool(`|')",
                "argument of type 'bool' is not iterable",
            ]
        )
        if cmp_op in ("in", "not in") and not is_list_like(rhs):
>           with pytest.raises(TypeError, match=msg):
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E           AssertionError: Regex pattern did not match.
E            Regex: "only list-like( or dict-like)? objects are allowed to be
passed to (DataFrame\\.)?isin\\(\\), you passed a (`|')bool(`|')|argument of
type 'bool' is not iterable"
E            Input: "argument of type 'bool' is not a container or iterable"

pandas/tests/computation/test_eval.py:184: AssertionError

-------------------------


            if op in ("in", "not in"):
                msg = "argument of type 'int' is not iterable"
>               with pytest.raises(TypeError, match=msg):
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E               AssertionError: Regex pattern did not match.
E                Regex: "argument of type 'int' is not iterable"
E                Input: "argument of type 'int' is not a container or iterable"

pandas/tests/computation/test_eval.py:1096: AssertionError


https://buildd.debian.org/status/fetch.php?pkg=pandas&arch=amd64&ver=2.3.3%2Bdfsg-2%2Bb2&stamp=1764904545&raw=0


Surprisingly I don't see this fixed or reported upstream.


-- 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