uvicorn-gunicorn-docker
uvicorn-gunicorn-docker copied to clipboard
✨ Add support for Python 3.10
✨ Add support for Python 3.10
This will have to wait until Uvicorn requires httptools 0.3.0
with support for Python 3.10 https://github.com/MagicStack/httptools/releases/tag/v0.3.0
#111 will allow this to build. Once installing gcc for python-slim image I can build all 3.10 images successfully.
Is it an option to pin httptools
version requirement ourselves to httptools>=0.3.0
?
Uvicorn defines it in such boundaries where this should possible.
https://github.com/encode/uvicorn/blob/efdbe7a4a6c94f34c35d751fb63391136b4e90e4/setup.py#L54-L57
extra_requirements = [
"websockets>=10.0",
"httptools>=0.2.0,<0.4.0",
"uvloop>=0.14.0,!=0.15.0,!=0.15.1; " + env_marker_cpython,
EDIT: Indeed! This is only possible since 8.11.2021, when uvicorn changed the version pinning for httptools: https://github.com/encode/uvicorn/pull/1243
Hi @tiangolo , wanted to check if there is anything pending for this PR to be merged? I will try taking a shot at it, if anything else is required for this to complete. Thanks.
Hey @tiangolo, any updates here? I'm planning to update my app to use python 3.10 and this release would help a lot
uvicorn 0.17.6
now requires httptools 0.4.0
, so this is not blocked anymore (or at least we're one step closer to being unblocked).
This looks like it can be re-run, though an update to 0.17.6 as mentioned by dependabot would be needed! Looking forward to the performance increases on MacOS! ✨⚡️
@tiangolo uvicorn bumped httptools in march to >=0.4.0. see: https://github.com/encode/uvicorn/pull/1400 could you please provide support for python 3.10?
the project is still maintained ?
Just bumping 🙌
Bump as well
bump!
bump!
Hey @tiangolo, is there a timeline for this change?
Looking forward to this change
Done! :rocket: :tada:
Thanks for the input everyone! :cake: