From a9e582eda4b0bed190af72f1bae025bd2a38e325 Mon Sep 17 00:00:00 2001 From: Daniel Goshev Date: Thu, 27 Jun 2024 15:56:38 +0300 Subject: [PATCH] Update Python. --- .github/workflows/django.yml | 4 ++-- docker-compose.yml | 2 +- docker/local.Dockerfile | 2 +- docker/production.Dockerfile | 2 +- runtime.txt | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/django.yml b/.github/workflows/django.yml index 6e8ae67..9a5ced1 100644 --- a/.github/workflows/django.yml +++ b/.github/workflows/django.yml @@ -31,7 +31,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: - python-version: 3.10.8 + python-version: 3.12.4 cache: "pip" cache-dependency-path: | requirements/local.txt @@ -42,7 +42,7 @@ jobs: - name: Cache pip uses: actions/cache@v4 with: - path: /opt/hostedtoolcache/Python/3.10.8/x64/ # This path is specific to Ubuntu + path: /opt/hostedtoolcache/Python/3.12.4/x64/ # This path is specific to Ubuntu key: python-${{ hashFiles('requirements/local.txt') }}-${{ hashFiles('requirements/base.txt') }} - name: Install dependencies run: pip install -r requirements/local.txt diff --git a/docker-compose.yml b/docker-compose.yml index 88ba9ce..11468fb 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,4 +1,4 @@ -version: "3.12.0" +version: "3.12.4" services: db: diff --git a/docker/local.Dockerfile b/docker/local.Dockerfile index 8da989a..73f3f50 100644 --- a/docker/local.Dockerfile +++ b/docker/local.Dockerfile @@ -1,6 +1,6 @@ # This docker file is used for local development via docker-compose # Creating image based on official python3 image -FROM python:3.12.0 +FROM python:3.12.4 # Fix python printing ENV PYTHONUNBUFFERED 1 diff --git a/docker/production.Dockerfile b/docker/production.Dockerfile index fa2fd43..2bdc049 100644 --- a/docker/production.Dockerfile +++ b/docker/production.Dockerfile @@ -1,6 +1,6 @@ # This docker file is used for production # Creating image based on official python3 image -FROM python:3.12.0 +FROM python:3.12.4 # Installing all python dependencies ADD requirements/ requirements/ diff --git a/runtime.txt b/runtime.txt index 44f8fbe..74d315a 100644 --- a/runtime.txt +++ b/runtime.txt @@ -1 +1 @@ -python-3.12.0 +python-3.12.4