-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
aiohttp 3.9.3 fails to install on Python 3.13.0a4 #8194
Comments
sdists on PyPI currently contain C-files translated from PYX using a certain Cython version that was available at the time of publishing. That version likely didn't support Cython and there's no way around it, short of building from the Git repo which is a bit more involved. Also, I don't know if Cython already supports Python 3.13 or we should wait until it does. |
Thanks. I mainly wanted to make sure this problem is tracked, since I haven't found an existing issue. |
I see. Normally, we don't do anything about it too early because we always end up having to wait for Cython. |
UPD: 3.11/3.12 have just been added to the trove classifiers in the metadata and can be considered fully supported now. There's also a CI job for 3.13 that's failing due to dependencies not being installable: https://github.com/aio-libs/aiohttp/actions/runs/8493964364/job/23268586328. |
My team at Quansight Labs (see https://github.com/quansight-labs/free-threaded-compatibility and https://py-free-threading.github.io for more info) been working with Cython to support the free-threaded python. 3.13 isn't fully working yet in a released version, but you can install a nightly prerelease build of Cython 3.1.0 from the scientific python nightly wheels staging area: https://anaconda.org/scientific-python-nightly-wheels/cython. |
Thanks, @ngoldbaum! This might work as a stop-gap in CI. Though, the end-users won't be able to do a simple |
Agreed, this is all to unblock development. Hopefully Cython 3.1.0 ships soon but it might need to wait for 3.13rc2 or even the final release. |
Describe the bug
Aiohttp fails to build on Python 3.13-dev.
To Reproduce
pip install aiohttp
Expected behavior
Aiohttp builds.
Logs/tracebacks
Python Version
aiohttp Version
3.9.3
multidict Version
N/A
yarl Version
N/A
OS
Linux
Related component
Server, Client
Additional context
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: