8000 AssertionError in test_refcount with Python 3.14 · Issue #511 · pydata/numexpr · GitHub
[go: up one dir, main page]

Skip to content
AssertionError in test_refcount with Python 3.14 #511
@befeleme

Description

@befeleme

Python 3.14 optimized handling recounts which is likely causing test failures of numexpr: https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-refcount

While testing with Python 3.14.0b2 in Fedora Linux 43 I see these two failures:

======================================================================
FAIL: test_refcount (numexpr.tests.test_numexpr.test_numexpr.test_refcount)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/python-numexpr-2.10.2-build/numexpr-2.10.2/build/lib.linux-x86_64-cpython-314/numexpr/tests/test_numexpr.py", line 317, in test_refcount
    assert sys.getrefcount(a) == 2
           ^^^^^^^^^^^^^^^^^^^^^^^
AssertionError

======================================================================
FAIL: test_refcount (numexpr.tests.test_numexpr.test_numexpr2.test_refcount)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/python-numexpr-2.10.2-build/numexpr-2.10.2/build/lib.linux-x86_64-cpython-314/numexpr/tests/test_numexpr.py", line 317, in test_refcount
    assert sys.getrefcount(a) == 2
           ^^^^^^^^^^^^^^^^^^^^^^^
AssertionError

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0