Skip to content
This repository was archived by the owner on Mar 24, 2026. It is now read-only.

Commit 62b10d9

Browse files
author
Micael Malta
authored
[FASTAPI] Bump dependencies (#7812)
* [FASTAPI] Bump dependencies Python 3.11 Fastapi 0.88 Nginx-unit 1.29 asynpg 0.27.0 ujson 5.6.0 orjson 3.8.3 psycopg2 2.9.5 SQLAlchemy 1.4.45 uvicorn 0.20.0 * fix(fastapi): nginx-unit Official image is buggy with 3.11 Use unofficial image built from mainstream * Bump fastapi
1 parent 98441d3 commit 62b10d9

15 files changed

Lines changed: 28 additions & 28 deletions

frameworks/Python/fastapi/fastapi-gunicorn-orjson.dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
FROM python:3.10
1+
FROM python:3.11
22

33
WORKDIR /fastapi
44

55
RUN python -m venv /opt/venv
66
ENV PATH="/opt/venv/bin:$PATH"
77

8-
RUN pip3 install cython==0.29.32
8+
RUN pip3 install cython==0.29.33
99

1010
COPY requirements.txt requirements-orjson.txt requirements-gunicorn.txt requirements-uvicorn.txt ./
1111

frameworks/Python/fastapi/fastapi-gunicorn-orm.dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
FROM python:3.10
1+
FROM python:3.11
22

33
WORKDIR /fastapi
44

55
RUN python -m venv /opt/venv
66
ENV PATH="/opt/venv/bin:$PATH"
77

8-
RUN pip3 install cython==0.29.32
8+
RUN pip3 install cython==0.29.33
99

1010
COPY requirements.txt requirements-sqlalchemy.txt requirements-gunicorn.txt requirements-uvicorn.txt ./
1111

frameworks/Python/fastapi/fastapi-hypercorn-orjson.dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
FROM python:3.10
1+
FROM python:3.11
22

33
WORKDIR /fastapi
44

55
RUN python -m venv /opt/venv
66
ENV PATH="/opt/venv/bin:$PATH"
77

8-
RUN pip3 install cython==0.29.32
8+
RUN pip3 install cython==0.29.33
99

1010
COPY requirements.txt requirements-orjson.txt requirements-hypercorn.txt ./
1111

frameworks/Python/fastapi/fastapi-hypercorn.dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
FROM python:3.10
1+
FROM python:3.11
22

33
WORKDIR /fastapi
44

55
RUN python -m venv /opt/venv
66
ENV PATH="/opt/venv/bin:$PATH"
77

8-
RUN pip3 install cython==0.29.32
8+
RUN pip3 install cython==0.29.33
99

1010
COPY requirements.txt requirements-hypercorn.txt ./
1111

frameworks/Python/fastapi/fastapi-nginx-unit-orjson.dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
FROM nginx/unit:1.28.0-python3.10
1+
FROM nginx/unit:1.29.1-python3.11
22

33
WORKDIR /fastapi
44

55
RUN python -m venv /opt/venv
66
ENV PATH="/opt/venv/bin:$PATH"
77

8-
RUN pip3 install cython==0.29.32
8+
RUN pip3 install cython==0.29.33
99

1010
COPY requirements.txt requirements-orjson.txt ./
1111

frameworks/Python/fastapi/fastapi-nginx-unit.dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
FROM nginx/unit:1.28.0-python3.10
1+
FROM nginx/unit:1.29.1-python3.11
22

33
WORKDIR /fastapi
44

55
RUN python -m venv /opt/venv
66
ENV PATH="/opt/venv/bin:$PATH"
77

8-
RUN pip3 install cython==0.29.32
8+
RUN pip3 install cython==0.29.33
99

1010
COPY requirements.txt ./
1111

frameworks/Python/fastapi/fastapi-socketify-asgi.dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ RUN python -m venv /opt/venv
66
ENV PATH="/opt/venv/bin:$PATH"
77

88
RUN apt-get update; apt-get install libuv1 -y
9-
RUN pip3 install cython==0.29.32
9+
RUN pip3 install cython==0.29.33
1010

1111
COPY requirements-socketify.txt ./
1212

frameworks/Python/fastapi/fastapi-uvicorn-orjson.dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
FROM python:3.10
1+
FROM python:3.11
22

33
WORKDIR /fastapi
44

55
RUN python -m venv /opt/venv
66
ENV PATH="/opt/venv/bin:$PATH"
77

8-
RUN pip3 install cython==0.29.32
8+
RUN pip3 install cython==0.29.33
99

1010
COPY requirements.txt requirements-orjson.txt requirements-uvicorn.txt ./
1111

frameworks/Python/fastapi/fastapi-uvicorn.dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
FROM python:3.10
1+
FROM python:3.11
22

33
WORKDIR /fastapi
44

55
RUN python -m venv /opt/venv
66
ENV PATH="/opt/venv/bin:$PATH"
77

8-
RUN pip3 install cython==0.29.32
8+
RUN pip3 install cython==0.29.33
99

1010
COPY requirements.txt requirements-uvicorn.txt ./
1111

frameworks/Python/fastapi/fastapi.dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
FROM python:3.10
1+
FROM python:3.11
22

33
WORKDIR /fastapi
44

55
RUN python -m venv /opt/venv
66
ENV PATH="/opt/venv/bin:$PATH"
77

8-
RUN pip3 install cython==0.29.32
8+
RUN pip3 install cython==0.29.33
99

1010
COPY requirements.txt requirements-gunicorn.txt requirements-uvicorn.txt ./
1111

0 commit comments

Comments
 (0)