Skip to content

NumPy test failure after upgrading to 3.14.1t on MacOS x86_64 #142253

@jorenham

Description

@jorenham

Bug report

Bug description:

Intially reported at numpy/numpy#30370 and https://discuss.python.org/t/python-3-14-1-is-now-available/105163/6


At NumPy there's a test in CI that started failing on MacOS x86_64 after upgrading to 3.14.1t:

actions log: https://github.com/numpy/numpy/actions/runs/19909510040/job/57074363533?pr=30367
failing test: https://github.com/numpy/numpy/blob/4a6bb2d843ba271f09a4115fd2c2c9dc82c78820/numpy/_core/tests/test_dtype.py#L988-L995

def test_tuple_recursion(self):
    d = np.int32
    for i in range(100000):
        d = (d, (1,))
    with pytest.raises(RecursionError):  # <--
        np.dtype(d)

CPython versions tested on:

3.14

Operating systems tested on:

macOS

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions