-
-
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 cannot be used in python 3.14. #8476
Comments
Seems the change already happened, but waiting for a new release so I can get those changes. Would be cool if aiohttp could do github only wheels on every non-stable commit until an official next release is made on pypi. |
Alright, so we don't need to track it, then. |
More to the point, if you are running CPython from source, you can do the same with aiohttp, just checkout the 3.10 branch. |
I tried the 3.10 branch however the build fails, even when I manually invoke And yes I am trying to build it on Windows with no clear |
Describe the bug
This is because they have already removed
typing.ByteString
that is used inside ofpayload.py
.They suggest either replacing it with
bytes | bytearray
or collections.abc.Buffer. For use as an ABC, prefer Sequence or collections.abc.Buffer.To Reproduce
Clone the CPython main branch and build, then install pip and aiohttp.
Next try to run some code that depends on the latest version of aiohttp.
Expected behavior
Everything to work as aiohttp would be prepared for the removal of
typing.ByteString
. Preparing it now before it becomes stable is a good idea as then it requires less work later.Logs/tracebacks
aiohttp Version
multidict Version
yarl Version
OS
Windows
Related component
Server, Client
Additional context
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: