Skip to content

Commit fd277fd

Browse files
committed
Bump Python to 3.12
1 parent 36f9c69 commit fd277fd

File tree

6 files changed

+11
-28
lines changed

6 files changed

+11
-28
lines changed

.github/workflows/ci.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- uses: actions/checkout@v3
18-
- name: Set up Python 3.11
18+
- name: Set up Python 3.12
1919
uses: actions/setup-python@v3
2020
with:
21-
python-version: '3.11'
21+
python-version: '3.12'
2222
- uses: actions/setup-node@v3
2323
with:
2424
node-version-file: '.nvmrc'
@@ -61,7 +61,7 @@ jobs:
6161
ALLOWED_HOSTS: localhost
6262
services:
6363
postgres:
64-
image: postgres:13
64+
image: postgres:16
6565
env:
6666
POSTGRES_USER: postgres
6767
POSTGRES_PASSWORD: postgress
@@ -76,7 +76,7 @@ jobs:
7676
- name: Set up Python
7777
uses: actions/setup-python@v4
7878
with:
79-
python-version: '3.11'
79+
python-version: '3.12'
8080
cache: 'poetry'
8181
- name: Install Python dependencies
8282
run: poetry install

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
default_language_version:
22
node: 20.15.0
3-
python: python3.11
3+
python: python3.12
44
repos:
55
- repo: https://github.com/psf/black
66
rev: 23.1.0

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ RUN npm run build:prod
1111

1212

1313
# Build Python app - this stage is a common base for the prod and dev stages
14-
FROM python:3.11-bullseye AS backend
14+
FROM python:3.12-bullseye AS backend
1515

1616
ARG POETRY_VERSION=1.8.3
1717
ARG UID=1000

poetry.lock

+3-20
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ requires = ["poetry-core"]
1212
build-backend = "poetry.core.masonry.api"
1313

1414
[tool.poetry.dependencies]
15-
python = "^3.11"
15+
python = "^3.12"
1616
django = "~5.0.6"
1717
wagtail = "~6.2.2"
1818
psycopg = "~3.2"

vagrant/provision.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ apt-get install -y unzip
1515
export DEBIAN_FRONTEND=noninteractive
1616
apt-get remove -y --purge postgresql*
1717
apt-get update -y
18-
apt-get install -y postgresql-13 postgresql-client-13 postgresql-contrib-13 libpq-dev
18+
apt-get install -y postgresql-16 postgresql-client-16 postgresql-contrib-16 libpq-dev
1919
su - postgres -c "createuser -s vagrant"
2020

2121
# Create database

0 commit comments

Comments
 (0)