Skip to content

Commit

Permalink
Update Python.
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-goshev committed Jun 27, 2024
1 parent d2f8682 commit a9e582e
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/django.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "3.12.0"
version: "3.12.4"

services:
db:
Expand Down
2 changes: 1 addition & 1 deletion docker/local.Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion docker/production.Dockerfile
Original file line number Diff line number Diff line change
@@ -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/
Expand Down
2 changes: 1 addition & 1 deletion runtime.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
python-3.12.0
python-3.12.4

0 comments on commit a9e582e

Please sign in to comment.