Skip to content

Commit 9c70329

Browse files
committed
Upgrade Wagtail to 6.4.1
Bump Django to 5.1.7 Upgrade poetry to 1.8.5 Add pre-commit hook to keep poetry.lock in sync with pyproject.toml
1 parent 380e689 commit 9c70329

File tree

5 files changed

+59
-42
lines changed

5 files changed

+59
-42
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ jobs:
8888
steps:
8989
- uses: actions/checkout@v4
9090
- name: Install Poetry
91-
run: pipx install poetry==1.8.3 # Make sure this matches POETRY_VERSION in the Dockerfile
91+
run: pipx install poetry==1.8.5 # Make sure this matches POETRY_VERSION in the Dockerfile
9292
- name: Set up Python
9393
uses: actions/setup-python@v5
9494
with:

.pre-commit-config.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,10 @@ repos:
4242
rev: 3.0.6
4343
hooks:
4444
- id: djhtml
45+
- repo: https://github.com/python-poetry/poetry
46+
rev: '1.8.5' # keep version in sync with version installed in the Dockerfile
47+
hooks:
48+
- id: poetry-lock
49+
# Never update dependencies and only run on changes to pyproject.toml
50+
args: [--no-update]
51+
files: ^pyproject.toml$

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ FROM python:3.13 as production
2121
ARG POETRY_INSTALL_ARGS="--no-dev"
2222

2323
# IMPORTANT: Remember to review both of these when upgrading
24-
ARG POETRY_VERSION=1.8.3
24+
ARG POETRY_VERSION=1.8.5
2525

2626
# Install dependencies in a virtualenv
2727
ENV VIRTUAL_ENV=/venv

poetry.lock

Lines changed: 49 additions & 39 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ authors = ["Torchbox Ltd"]
77
[tool.poetry.dependencies]
88
python = "^3.13"
99
Django = "~5.1.5"
10-
wagtail = "~6.3"
10+
wagtail = "~6.4"
1111
psycopg = "^3.2.3"
1212
gunicorn = "^23.0.0"
1313
whitenoise = "^6.8.0"

0 commit comments

Comments
 (0)