-
Notifications
You must be signed in to change notification settings - Fork 134
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
Test failures with Python 3.13.0b1 in 4.4.0 #737
Comments
Due to the challenges you mentioned, I haven't taken any serious steps towards Python 3.13 compatibility. That said, the failures don't look serious, as they just indicate that new methods/properties in |
Thanks. That makes sense. I think it’s reasonable for me to skip For |
Would you mind checking against #740? |
I tested #740 in the same virtualenv, and it fixed all of the regressions in I also tried it as a patch in Fedora, and that built with tests passing in our Python 3.13 test environment. So that PR looks great to me! Thanks for looking into this. |
Things to check first
I have searched the existing issues and didn't find my bug already reported there
I have checked that my bug is still present in the latest release
AnyIO version
4.4.0
Python version
3.13.0b1
What happened?
I expected these four tests to pass, as they do on Python 3.12.
How can we reproduce the bug?
Before proceeding further, we need to build
uvloop
ourselves, since the released sdist doesn’t build on Python 3.13 and there are no binary wheels on PyPI for Python 3.13 yet. Furthermore, we need to patch it for Cython 3 as proposed in MagicStack/uvloop#587. This reflects howuvloop
is packaged in Fedora.Furthermore, to avoid errors about
undefined symbol: _PyErr_WriteUnraisableMsg
, we needcffi
to contain python-cffi/cffi@49127c6. The easiest way is to manually install 1.17.0rc1.Now we can continue:
I’m not as worried about the failures in
tests/test_sockets.py
due tosocket.gaierror: [Errno -2] Name or service not known
– we run tests offline in Fedora, so we don’t see these, and these reproduce in Python 3.12 – but failures intests/test_fileio.py
appear to be real regressions in Python 3.13.The text was updated successfully, but these errors were encountered: