-
-
Notifications
You must be signed in to change notification settings - Fork 216
AssertionError in test_refcount with Python 3.14 #511
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
We seem to have similar problem previously with pypy, will look into this
tomorrow
…On Thu, 29 May 2025 at 09:48, Karolina Surma ***@***.***> wrote:
*befeleme* created an issue (pydata/numexpr#511)
<#511>
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
—
Reply to this email directly, view it on GitHub
<#511>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A33BDH76D7R6VT6AKJJHW5D3A23UZAVCNFSM6AAAAAB6EZ7CV6VHI2DSMVQWIX3LMV43ASLTON2WKOZTGA4TSNJQGA3DCMI>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
I'm still stuggling with python 3.140b2 itself. I'm using MacOS and after downloading, pip doesn't work and reports SSL Certificate related error. And when I tried to run Could not fetch URL https://pypi.org/simple/certifi/: There was a problem confirming the ssl certificate:
HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/certifi/ (Caused by
SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer
certificate (_ssl.c:1077)'))) - skipping Any idea what should I do now T-T |
Thanks for your efforts @27rabbitlt . My impression is that, although this test could have been useful in the past (mainly for debugging purposes), at this point we can comment it out if it is creating issues with PyPy and recent versions of Python. |
So, I commented this out. In case you feel it can be fixed in some other way, tell me (although I can't think of a reason why we are gonna need it in the future). |
Agree, thanks!
Francesc Alted ***@***.***>于2025年6月9日 周一16:37写道:
… *FrancescAlted* left a comment (pydata/numexpr#511)
<#511 (comment)>
So, I commented this out. In case you feel it can be fixed in some other
way, tell me (although I can't think of a reason why we are gonna need it
in the future).
—
Reply to this email directly, view it on GitHub
<#511 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A33BDH6IDHVCTRQDGUSUIYL3CVBTHAVCNFSM6AAAAAB6EZ7CV6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDSNJVGA4DCNZQHE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
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:
The text was updated successfully, but these errors were encountered: