Skip to content

Commit 5d17d1b

Browse files
Bump python and postgres versions
1 parent 0b07f8c commit 5d17d1b

File tree

5 files changed

+7
-5
lines changed

5 files changed

+7
-5
lines changed

.github/workflows/django.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ jobs:
1919
- name: Fetch history, because Heroku deploy fails otherwise.
2020
uses: actions/setup-python@v2
2121
with:
22-
python-version: 3.9
22+
python-version: 3.10.2
23+
- name: psycopg2 prerequisites
24+
run: sudo apt-get install python-dev libpq-dev
2325
- name: Install dependencies
2426
run: |
2527
python -m pip install --upgrade pip

docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: "3.9"
22

33
services:
44
db:
5-
image: postgres:13.2
5+
image: postgres:14.1
66
environment:
77
- POSTGRES_DB=styleguide_example_db
88
- POSTGRES_USER=postgres

docker/local.Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This docker file is used for local development via docker-compose
22
# Creating image based on official python3 image
3-
FROM python:3.9.4
3+
FROM python:3.10.2
44

55
# Fix python printing
66
ENV PYTHONUNBUFFERED 1

docker/production.Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This docker file is used for production
22
# Creating image based on official python3 image
3-
FROM python:3.9.4
3+
FROM python:3.10.2
44

55
# Installing all python dependencies
66
ADD requirements/ requirements/

runtime.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
python-3.9.6
1+
python-3.10.2

0 commit comments

Comments
 (0)