From e0ad289483147dfc00a829664727ebb866d1e119 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E0=AE=AE=E0=AE=A9=E0=AF=8B=E0=AE=9C=E0=AF=8D=E0=AE=95?= =?UTF-8?q?=E0=AF=81=E0=AE=AE=E0=AE=BE=E0=AE=B0=E0=AF=8D=20=E0=AE=AA?= =?UTF-8?q?=E0=AE=B4=E0=AE=A9=E0=AE=BF=E0=AE=9A=E0=AF=8D=E0=AE=9A=E0=AE=BE?= =?UTF-8?q?=E0=AE=AE=E0=AE=BF?= Date: Sun, 9 Jun 2024 11:54:30 +0530 Subject: [PATCH] Downgraded Python version to 3.12.3 (#2331) Co-authored-by: Engel Nyst --- .github/workflows/run-unit-tests.yml | 2 +- containers/app/Dockerfile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/run-unit-tests.yml b/.github/workflows/run-unit-tests.yml index f6df12579f..bedf4d380d 100644 --- a/.github/workflows/run-unit-tests.yml +++ b/.github/workflows/run-unit-tests.yml @@ -23,7 +23,7 @@ jobs: name: Test on macOS runs-on: macos-13 env: - INSTALL_DOCKER: "0" # Set to '0' to skip Docker installation + INSTALL_DOCKER: "1" # Set to '0' to skip Docker installation strategy: matrix: python-version: ["3.11"] diff --git a/containers/app/Dockerfile b/containers/app/Dockerfile index ffcea9f8e5..3a883b19f9 100644 --- a/containers/app/Dockerfile +++ b/containers/app/Dockerfile @@ -10,7 +10,7 @@ RUN npm ci COPY ./frontend ./ RUN npm run make-i18n && npm run build -FROM python:3.12-slim as backend-builder +FROM python:3.12.3-slim as backend-builder WORKDIR /app ENV PYTHONPATH '/app' @@ -28,7 +28,7 @@ COPY ./pyproject.toml ./poetry.lock ./ RUN touch README.md RUN poetry install --without evaluation --no-root && rm -rf $POETRY_CACHE_DIR -FROM python:3.12-slim as runtime +FROM python:3.12.3-slim as runtime WORKDIR /app