File tree 6 files changed +11
-28
lines changed
6 files changed +11
-28
lines changed Original file line number Diff line number Diff line change @@ -15,10 +15,10 @@ jobs:
15
15
runs-on : ubuntu-latest
16
16
steps :
17
17
- uses : actions/checkout@v3
18
- - name : Set up Python 3.11
18
+ - name : Set up Python 3.12
19
19
uses : actions/setup-python@v3
20
20
with :
21
- python-version : ' 3.11 '
21
+ python-version : ' 3.12 '
22
22
- uses : actions/setup-node@v3
23
23
with :
24
24
node-version-file : ' .nvmrc'
61
61
ALLOWED_HOSTS : localhost
62
62
services :
63
63
postgres :
64
- image : postgres:13
64
+ image : postgres:16
65
65
env :
66
66
POSTGRES_USER : postgres
67
67
POSTGRES_PASSWORD : postgress
76
76
- name : Set up Python
77
77
uses : actions/setup-python@v4
78
78
with :
79
- python-version : ' 3.11 '
79
+ python-version : ' 3.12 '
80
80
cache : ' poetry'
81
81
- name : Install Python dependencies
82
82
run : poetry install
Original file line number Diff line number Diff line change 1
1
default_language_version :
2
2
node : 20.15.0
3
- python : python3.11
3
+ python : python3.12
4
4
repos :
5
5
- repo : https://github.com/psf/black
6
6
rev : 23.1.0
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ RUN npm run build:prod
11
11
12
12
13
13
# 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
15
15
16
16
ARG POETRY_VERSION=1.8.3
17
17
ARG UID=1000
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ requires = ["poetry-core"]
12
12
build-backend = " poetry.core.masonry.api"
13
13
14
14
[tool .poetry .dependencies ]
15
- python = " ^3.11 "
15
+ python = " ^3.12 "
16
16
django = " ~5.0.6"
17
17
wagtail = " ~6.2.2"
18
18
psycopg = " ~3.2"
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ apt-get install -y unzip
15
15
export DEBIAN_FRONTEND=noninteractive
16
16
apt-get remove -y --purge postgresql*
17
17
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
19
19
su - postgres -c " createuser -s vagrant"
20
20
21
21
# Create database
You can’t perform that action at this time.
0 commit comments