tiangolo / uvicorn-gunicorn-fastapi-docker

Docker image with Uvicorn managed by Gunicorn for high-performance FastAPI web applications in Python with performance auto-tuning.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

add python 3.9 tag

wasdee opened this issue · comments

add python 3.9 tag since it is released.

Yes, please. I'd like to test out my apps on python3.9.

Please

I had issues getting 3.9 to work my FastAPI service,

Using a python:3.9-slim base image I needed to install a few more dependencies than before with fastapi 3.8-slim version (FastAPI 0.55.1)

...
RUN apt-get update && apt-get install -y build-essential=12.6 \ 
&& pip install --no-cache-dir uvloop==0.14.0 httptools==0.1.1 uvicorn==0.13.0 gunicorn==20.0.4 fastapi==0.62.0 \
...

I needed to install build-essential, uvloop and httptools, without these FastAPI api would not startup.
Not sure why, yet this did the trick for me

commented

Please

I have built uvicorn-gunicorn-fastapi images for python3.9 using these uvicorn-gunicorn images as the base.

Feel free to use the images until @tiangolo merge either #64 or #52 at uvicorn-gunicorn-docker repository.

DockerHub links and sources are available in my repo.

Current images are based on PR #67.

commented

@tiangolo Any updates on this?

Also share my fork with updated versions of python 3.9 and alpine 3.13 there ^_^

docker hub: https://hub.docker.com/repository/docker/antonapetrov/uvicorn-gunicorn
github repo: https://github.com/anton-petrov/uvicorn-gunicorn-docker

So, are we skipping Python 3.9 and jumping straight to 3.10 then?

Hi
any updates on this? when do you expect the official release for this?

Thanks everyone for the discussion and interest! And thanks @graue70 for the PR! It is now available. 🎉