diff --git a/frameworks/Python/fastapi/fastapi-gunicorn-orjson.dockerfile b/frameworks/Python/fastapi/fastapi-gunicorn-orjson.dockerfile index ac1f4c475f5..4f0712849e5 100644 --- a/frameworks/Python/fastapi/fastapi-gunicorn-orjson.dockerfile +++ b/frameworks/Python/fastapi/fastapi-gunicorn-orjson.dockerfile @@ -1,11 +1,11 @@ -FROM python:3.11 +FROM python:3.13 WORKDIR /fastapi RUN python -m venv /opt/venv ENV PATH="/opt/venv/bin:$PATH" -RUN pip3 install cython==0.29.33 +RUN pip3 install cython==3.0.12 COPY requirements.txt requirements-orjson.txt requirements-gunicorn.txt requirements-uvicorn.txt ./ diff --git a/frameworks/Python/fastapi/fastapi-gunicorn-orm.dockerfile b/frameworks/Python/fastapi/fastapi-gunicorn-orm.dockerfile index fdc730bc121..64dab70e99b 100644 --- a/frameworks/Python/fastapi/fastapi-gunicorn-orm.dockerfile +++ b/frameworks/Python/fastapi/fastapi-gunicorn-orm.dockerfile @@ -1,11 +1,11 @@ -FROM python:3.11 +FROM python:3.13 WORKDIR /fastapi RUN python -m venv /opt/venv ENV PATH="/opt/venv/bin:$PATH" -RUN pip3 install cython==0.29.33 +RUN pip3 install cython==3.0.12 COPY requirements.txt requirements-sqlalchemy.txt requirements-gunicorn.txt requirements-uvicorn.txt ./ diff --git a/frameworks/Python/fastapi/fastapi-hypercorn-orjson.dockerfile b/frameworks/Python/fastapi/fastapi-hypercorn-orjson.dockerfile index 231a1c218cc..fc50bd7ddae 100644 --- a/frameworks/Python/fastapi/fastapi-hypercorn-orjson.dockerfile +++ b/frameworks/Python/fastapi/fastapi-hypercorn-orjson.dockerfile @@ -1,11 +1,11 @@ -FROM python:3.11 +FROM python:3.13 WORKDIR /fastapi RUN python -m venv /opt/venv ENV PATH="/opt/venv/bin:$PATH" -RUN pip3 install cython==0.29.33 +RUN pip3 install cython==3.0.12 COPY requirements.txt requirements-orjson.txt requirements-hypercorn.txt ./ diff --git a/frameworks/Python/fastapi/fastapi-hypercorn.dockerfile b/frameworks/Python/fastapi/fastapi-hypercorn.dockerfile index 761073478a7..58f2d166d12 100644 --- a/frameworks/Python/fastapi/fastapi-hypercorn.dockerfile +++ b/frameworks/Python/fastapi/fastapi-hypercorn.dockerfile @@ -1,11 +1,11 @@ -FROM python:3.11 +FROM python:3.13 WORKDIR /fastapi RUN python -m venv /opt/venv ENV PATH="/opt/venv/bin:$PATH" -RUN pip3 install cython==0.29.33 +RUN pip3 install cython==3.0.12 COPY requirements.txt requirements-hypercorn.txt ./ diff --git a/frameworks/Python/fastapi/fastapi-nginx-unit-orjson.dockerfile b/frameworks/Python/fastapi/fastapi-nginx-unit-orjson.dockerfile index c8d825ad1e0..af3ed2bd75d 100644 --- a/frameworks/Python/fastapi/fastapi-nginx-unit-orjson.dockerfile +++ b/frameworks/Python/fastapi/fastapi-nginx-unit-orjson.dockerfile @@ -1,11 +1,11 @@ -FROM nginx/unit:1.29.1-python3.11 +FROM nginx/unit:1.29.1-python3.13 WORKDIR /fastapi RUN python -m venv /opt/venv ENV PATH="/opt/venv/bin:$PATH" -RUN pip3 install cython==0.29.33 +RUN pip3 install cython==3.0.12 COPY requirements.txt requirements-orjson.txt ./ diff --git a/frameworks/Python/fastapi/fastapi-nginx-unit.dockerfile b/frameworks/Python/fastapi/fastapi-nginx-unit.dockerfile index 2c68413be7a..261c84d5520 100644 --- a/frameworks/Python/fastapi/fastapi-nginx-unit.dockerfile +++ b/frameworks/Python/fastapi/fastapi-nginx-unit.dockerfile @@ -1,11 +1,11 @@ -FROM nginx/unit:1.29.1-python3.11 +FROM nginx/unit:1.29.1-python3.13 WORKDIR /fastapi RUN python -m venv /opt/venv ENV PATH="/opt/venv/bin:$PATH" -RUN pip3 install cython==0.29.33 +RUN pip3 install cython==3.0.12 COPY requirements.txt ./ diff --git a/frameworks/Python/fastapi/fastapi-socketify-asgi-pypy.dockerfile b/frameworks/Python/fastapi/fastapi-socketify-asgi-pypy.dockerfile index 8881c600daa..39a7e0c5b05 100644 --- a/frameworks/Python/fastapi/fastapi-socketify-asgi-pypy.dockerfile +++ b/frameworks/Python/fastapi/fastapi-socketify-asgi-pypy.dockerfile @@ -1,4 +1,4 @@ -FROM pypy:3.9-bullseye +FROM pypy:3.11-bookworm WORKDIR /fastapi @@ -13,4 +13,4 @@ COPY . ./ EXPOSE 8080 -CMD python ./app-socketify-asgi.py \ No newline at end of file +CMD python ./app-socketify-asgi.py diff --git a/frameworks/Python/fastapi/fastapi-socketify-asgi.dockerfile b/frameworks/Python/fastapi/fastapi-socketify-asgi.dockerfile index 7af7345cd37..58c39a397cd 100644 --- a/frameworks/Python/fastapi/fastapi-socketify-asgi.dockerfile +++ b/frameworks/Python/fastapi/fastapi-socketify-asgi.dockerfile @@ -1,4 +1,4 @@ -FROM python:3.10-bullseye +FROM python:3.13-bullseye WORKDIR /fastapi @@ -6,7 +6,7 @@ RUN python -m venv /opt/venv ENV PATH="/opt/venv/bin:$PATH" RUN apt-get update; apt-get install libuv1 -y -RUN pip3 install cython==0.29.33 +RUN pip3 install cython==3.0.12 COPY requirements-socketify.txt ./ @@ -16,4 +16,4 @@ COPY . ./ EXPOSE 8080 -CMD python ./app-socketify-asgi.py \ No newline at end of file +CMD python ./app-socketify-asgi.py diff --git a/frameworks/Python/fastapi/fastapi-uvicorn-orjson.dockerfile b/frameworks/Python/fastapi/fastapi-uvicorn-orjson.dockerfile index 2a8bfca032a..35e6b7d0030 100644 --- a/frameworks/Python/fastapi/fastapi-uvicorn-orjson.dockerfile +++ b/frameworks/Python/fastapi/fastapi-uvicorn-orjson.dockerfile @@ -1,11 +1,11 @@ -FROM python:3.11 +FROM python:3.13 WORKDIR /fastapi RUN python -m venv /opt/venv ENV PATH="/opt/venv/bin:$PATH" -RUN pip3 install cython==0.29.33 +RUN pip3 install cython==3.0.12 COPY requirements.txt requirements-orjson.txt requirements-uvicorn.txt ./ diff --git a/frameworks/Python/fastapi/fastapi-uvicorn.dockerfile b/frameworks/Python/fastapi/fastapi-uvicorn.dockerfile index 8a29e86ff26..7da0ea40ce3 100644 --- a/frameworks/Python/fastapi/fastapi-uvicorn.dockerfile +++ b/frameworks/Python/fastapi/fastapi-uvicorn.dockerfile @@ -1,11 +1,11 @@ -FROM python:3.11 +FROM python:3.13 WORKDIR /fastapi RUN python -m venv /opt/venv ENV PATH="/opt/venv/bin:$PATH" -RUN pip3 install cython==0.29.33 +RUN pip3 install cython==3.0.12 COPY requirements.txt requirements-uvicorn.txt ./ diff --git a/frameworks/Python/fastapi/fastapi.dockerfile b/frameworks/Python/fastapi/fastapi.dockerfile index 3f0791259e0..7208575d191 100644 --- a/frameworks/Python/fastapi/fastapi.dockerfile +++ b/frameworks/Python/fastapi/fastapi.dockerfile @@ -1,11 +1,11 @@ -FROM python:3.11 +FROM python:3.13 WORKDIR /fastapi RUN python -m venv /opt/venv ENV PATH="/opt/venv/bin:$PATH" -RUN pip3 install cython==0.29.33 +RUN pip3 install cython==3.0.12 COPY requirements.txt requirements-gunicorn.txt requirements-uvicorn.txt ./ diff --git a/frameworks/Python/fastapi/requirements-gunicorn.txt b/frameworks/Python/fastapi/requirements-gunicorn.txt index 9d41f264a67..4afe40e70ce 100644 --- a/frameworks/Python/fastapi/requirements-gunicorn.txt +++ b/frameworks/Python/fastapi/requirements-gunicorn.txt @@ -1 +1 @@ -gunicorn==20.1.0 +gunicorn==23.0.0 diff --git a/frameworks/Python/fastapi/requirements-hypercorn.txt b/frameworks/Python/fastapi/requirements-hypercorn.txt index 3d99222e2c6..3e0a21f2fe2 100644 --- a/frameworks/Python/fastapi/requirements-hypercorn.txt +++ b/frameworks/Python/fastapi/requirements-hypercorn.txt @@ -1 +1 @@ -hypercorn==0.14.3 +hypercorn==0.17.3 diff --git a/frameworks/Python/fastapi/requirements-orjson.txt b/frameworks/Python/fastapi/requirements-orjson.txt index 93befc16cdf..c4a1a897890 100644 --- a/frameworks/Python/fastapi/requirements-orjson.txt +++ b/frameworks/Python/fastapi/requirements-orjson.txt @@ -1 +1 @@ -orjson==3.8.7 +orjson==3.10.16 diff --git a/frameworks/Python/fastapi/requirements-socketify-pypy.txt b/frameworks/Python/fastapi/requirements-socketify-pypy.txt index 8882bf571a5..d9e462113ce 100644 --- a/frameworks/Python/fastapi/requirements-socketify-pypy.txt +++ b/frameworks/Python/fastapi/requirements-socketify-pypy.txt @@ -1,2 +1,2 @@ -fastapi==0.109.1 -git+https://github.com/cirospaciari/socketify.py.git@main#socketify \ No newline at end of file +fastapi==0.115.12 +git+https://github.com/cirospaciari/socketify.py.git@main#socketify diff --git a/frameworks/Python/fastapi/requirements-socketify.txt b/frameworks/Python/fastapi/requirements-socketify.txt index 5f4e0c71b78..1a2da3e0ef2 100644 --- a/frameworks/Python/fastapi/requirements-socketify.txt +++ b/frameworks/Python/fastapi/requirements-socketify.txt @@ -1,3 +1,3 @@ -orjson==3.8.7 -fastapi==0.109.1 -git+https://github.com/cirospaciari/socketify.py.git@main#socketify \ No newline at end of file +orjson==3.10.16 +fastapi==0.115.12 +git+https://github.com/cirospaciari/socketify.py.git@main#socketify diff --git a/frameworks/Python/fastapi/requirements-sqlalchemy.txt b/frameworks/Python/fastapi/requirements-sqlalchemy.txt index 15b6756829e..2c6c181a0fe 100644 --- a/frameworks/Python/fastapi/requirements-sqlalchemy.txt +++ b/frameworks/Python/fastapi/requirements-sqlalchemy.txt @@ -1,2 +1,2 @@ -psycopg2==2.9.5 -SQLAlchemy==1.4.45 +psycopg2==2.9.10 +SQLAlchemy==2.0.40 diff --git a/frameworks/Python/fastapi/requirements-uvicorn.txt b/frameworks/Python/fastapi/requirements-uvicorn.txt index acd5eba32da..18c6d74e2ad 100644 --- a/frameworks/Python/fastapi/requirements-uvicorn.txt +++ b/frameworks/Python/fastapi/requirements-uvicorn.txt @@ -1,3 +1,3 @@ -uvicorn==0.20.0 -uvloop==0.17.0 -httptools==0.5.0 +uvicorn==0.34.0 +uvloop==0.21.0 +httptools==0.6.4 diff --git a/frameworks/Python/fastapi/requirements.txt b/frameworks/Python/fastapi/requirements.txt index 0c5b386b1e4..51c4ec7c426 100644 --- a/frameworks/Python/fastapi/requirements.txt +++ b/frameworks/Python/fastapi/requirements.txt @@ -1,4 +1,4 @@ -asyncpg==0.27.0 -fastapi==0.109.1 +asyncpg==0.30.0 +fastapi==0.115.12 Jinja2==3.1.6 -ujson==5.7.0 +ujson==5.10.0 \ No newline at end of file