Skip to content

Commit 520d2bb

Browse files
update python and pypy versions, and all the dependency versions (#9801)
1 parent 85b747a commit 520d2bb

19 files changed

+39
-39
lines changed

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.11
1+
FROM python:3.13
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.33
8+
RUN pip3 install cython==3.0.12
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.11
1+
FROM python:3.13
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.33
8+
RUN pip3 install cython==3.0.12
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.11
1+
FROM python:3.13
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.33
8+
RUN pip3 install cython==3.0.12
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.11
1+
FROM python:3.13
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.33
8+
RUN pip3 install cython==3.0.12
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.29.1-python3.11
1+
FROM nginx/unit:1.29.1-python3.13
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.33
8+
RUN pip3 install cython==3.0.12
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.29.1-python3.11
1+
FROM nginx/unit:1.29.1-python3.13
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.33
8+
RUN pip3 install cython==3.0.12
99

1010
COPY requirements.txt ./
1111

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM pypy:3.9-bullseye
1+
FROM pypy:3.11-bookworm
22

33
WORKDIR /fastapi
44

@@ -13,4 +13,4 @@ COPY . ./
1313

1414
EXPOSE 8080
1515

16-
CMD python ./app-socketify-asgi.py
16+
CMD python ./app-socketify-asgi.py
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
FROM python:3.10-bullseye
1+
FROM python:3.13-bullseye
22

33
WORKDIR /fastapi
44

55
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.33
9+
RUN pip3 install cython==3.0.12
1010

1111
COPY requirements-socketify.txt ./
1212

@@ -16,4 +16,4 @@ COPY . ./
1616

1717
EXPOSE 8080
1818

19-
CMD python ./app-socketify-asgi.py
19+
CMD python ./app-socketify-asgi.py

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.11
1+
FROM python:3.13
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.33
8+
RUN pip3 install cython==3.0.12
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.11
1+
FROM python:3.13
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.33
8+
RUN pip3 install cython==3.0.12
99

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

0 commit comments

Comments
 (0)