-
Notifications
You must be signed in to change notification settings - Fork 184
Change aiohttp3.9 python3.12 requirement #458
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
Change aiohttp3.9 python3.12 requirement #458
Conversation
I don't really understand what you want to do. This PR is not necessary to install |
I'm using poetry to manage the dependencies, and when I set aiohttp"^3.9.0" it cannot resolve the dependencies, because aiohttp==3.9 is only available for python3.12:
Why is there a python3.12 requirement for the aiohttp dependency? |
You've got it backwards. Those lines in the
It does NOT mean that you have to use Python 3.12 if you are using aiohttp 3.9. In all versions of Python you can use aiohttp version 3.9 That line was added in the The reason Poetry is restricting you to an earlier version of aiohttp is because you are using the stable version of gql, version 3.4.1 To solve your problem, you have to use the pre-release version of gql. To install the pre-release version of gql using poetry you can use: That command will modify your |
Oh, okay, thank you. I'll look into that. I was indeed looking in the wrong branch. However, would it make sense to release a version (3.4.2) that allowed aiohttp < 4 for python < 3.12, specifically to allow the the CVE fixes to come downstream automatically? I'd be happy to push that PR to you. |
I made a new stable version 3.5.0 |
Thank you! |
Due to two CVEs, downstream products that may not have upgraded to python3.12 need aiohttp to be at version 3.9.
The update changes the requirement for aiohttp==3.9 to include python>=3.11
See also:
https://nvd.nist.gov/vuln/detail/CVE-2023-49081
https://nvd.nist.gov/vuln/detail/CVE-2023-49082
I've verified the tests and no more tests are failing than before the changes. See #457
Thanks,
Oliver