Tests hang in Python 3.14.0rc1 #3616
Unanswered
musicinmybrain
asked this question in
Potential Issue
Replies: 2 comments 4 replies
-
|
Please retry on the Python 3.14 production release. |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
I was able to replicate the hangs. The problem is that in the test suite deprecations are marked as fatal, and uvicorn is used to set up the tests, and uvicorn generates a deprecation warning because of uvicorn is about to create a new release with a fix: Kludex/uvicorn#2723 👀 |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I was looking at the failure to rebuild of the
python-httpxpackage in Fedora Rawhide, where the system Python is 3.14.0rc1, and I found that I could reproduce the problem in a virtualenv.(Note below that I did not use the pinned versions in
requirements.txt, and I did not install thebrotliorzstdextras because the corresponding packages do not yet have binary wheels for Python 3.14. This is also why I needed--ignore=tests/test_decoders.py.)This hangs indefinitely – I waited at least several minutes.
If I add
--ignore=tests/client/test_async_client.pyand repeat thepytestinvocation, I find that some tests do pass, but there are other modules with tests that hang, too:With
--ignore=tests/client/test_client.py, yet another hang:Do you have any idea what might be going wrong here? Shall I open an issue?
Beta Was this translation helpful? Give feedback.
All reactions