diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 635bab40..39586979 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,7 +23,7 @@ jobs: - name: Run linting rules uses: actions/setup-python@v4 with: - python-version: '3.10' + python-version: '3.12' - run: pip install -r requirements.txt - run: pylint -j0 core/ @@ -62,7 +62,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v4 with: - python-version: "3.11" + python-version: "3.12" - name: Cache pip dependencies uses: actions/cache@v3 with: diff --git a/Dockerfile b/Dockerfile index f0e4c282..e0bd613e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.10-slim AS builder +FROM python:3.12-slim AS builder ENV PYTHONUNBUFFERED 1 ENV PYTHONDONTWRITEBYTECODE 1 @@ -14,7 +14,7 @@ ADD requirements.txt /code/ RUN pip wheel --no-cache-dir --wheel-dir /code/wheels -r requirements.txt -FROM python:3.10-slim +FROM python:3.12-slim ENV PYTHONUNBUFFERED 1 ENV PYTHONDONTWRITEBYTECODE 1 diff --git a/requirements.txt b/requirements.txt index 0ff619d1..66b5e150 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ Django==4.2.16 -psycopg2==2.9.7 +psycopg2==2.9.11 gunicorn==22.0.0 #production server whitenoise==6.5.0 #serving swagger static files djangorestframework==3.14.0