Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,23 +26,23 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup Pages
uses: actions/configure-pages@v3

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.13'
cache: 'pip'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install mkdocs==1.4.3 mkdocs-material==9.1.16 pymdown-extensions==10.0.1
python -m pip install mkdocs==1.6.1 mkdocs-material==9.7.0 pymdown-extensions==10.18

- name: Build site (_site directory name is used for Jekyll compatiblity)
run: mkdocs build --config-file ./mkdocs.yml --site-dir ./_site
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ default_language_version:
python: python3.13
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: 'v0.14.8' # keep in sync with pyproject.toml
rev: 'v0.15.5' # keep in sync with pyproject.toml
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
Expand Down Expand Up @@ -51,7 +51,7 @@ repos:
files: ^pyproject.toml$

- repo: https://github.com/adamchainz/django-upgrade
rev: '1.29.1' # update with latest tag on GitHub
rev: '1.30.0' # update with latest tag on GitHub
hooks:
- id: django-upgrade
args: [--target-version, '5.2'] # Django version used in this site
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. This projec

Add your changes to the Unreleased section and move them to the appropriate section when they are merged.

## Unreleased

- [TWE-682](https://torchbox.atlassian.net/browse/TWE-682) - Upgrade Wagtail to 7.3

## 2026-03-05

- [TWE-684](https://torchbox.atlassian.net/browse/TWE-684) - Security update: Wagtail 7.2.3, Django 5.2.12
Expand Down
4 changes: 2 additions & 2 deletions docs/upgrading.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ As much as possible, we want to use the official releases available on PyPI for

### Check these packages for updates

**Last checked** Wagtail 7.2 upgrade
**Last checked** Wagtail 7.3 upgrade

- wagtail-accessibility
- [wagtail-lite-youtube-embed](front-end/lite-youtube.md)
Expand All @@ -84,6 +84,6 @@ As much as possible, we want to use the official releases available on PyPI for

## Custom wagtail admin templates

**Last checked** Wagtail 7.2 upgrade
**Last checked** Wagtail 7.3 upgrade

Add references to any custom templates that override the Wagtail admin templates. These should be checked to ensure they still work as expected after the upgrade.
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,6 @@
"js-cookie": "^3.0.5",
"lite-youtube-embed": "^0.3.4",
"micromodal": "^0.6.1",
"swiper": "^12.0.3"
"swiper": "^12.1.2"
}
}
671 changes: 349 additions & 322 deletions poetry.lock

Large diffs are not rendered by default.

32 changes: 16 additions & 16 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ authors = ["Torchbox Ltd"]

[tool.poetry.dependencies]
python = "^3.13"
Django = "~5.2.0"
wagtail = "~7.2"
psycopg = "^3.3.2"
Django = "~5.2.12"
wagtail = "~7.3"
psycopg = "^3.3.3"
gunicorn = "^23.0.0"
whitenoise = "^6.9.0"
phonenumbers = "^9.0.6"
whitenoise = "^6.11.0"
phonenumbers = "^9.0.20"
Wand = "^0.6.10"
urllib3 = "~2.6.1"
urllib3 = "~2.6.3"

# Django packages
django-basic-auth-ip-whitelist = "^0.8"
Expand All @@ -24,7 +24,7 @@ django-permissions-policy = "^4.26.0"
django-phonenumber-field = "^8.1.0"
django-redis = "^6.0.0"
django-storages = {extras = ["boto3"], version = "^1.14.6"}
dj-database-url = "^3.0.0"
dj-database-url = "^3.0.1"

# Wagtail packages
wagtail-accessibility = "^2.0.0"
Expand All @@ -35,36 +35,36 @@ wagtail-purge = "^0.4.0"

# Production
scout-apm = "^3.5.0"
sentry-sdk = "^2.47.0"
sentry-sdk = "^2.54.0"
html5lib = "^1.1"
beautifulsoup4 = "^4.13.4"
django-xff = "^1.5.0"

[tool.poetry.group.dev.dependencies]
Werkzeug = "^3.1.1"
django-debug-toolbar = "^6.1.0"
Werkzeug = "^3.1.6"
django-debug-toolbar = "^6.2.0"
django-extensions = "^4.1"
fabric = "^3.2.2"
pudb = "^2025.1"
honcho = "^2.0.0"

# Linters etc.
detect-secrets = "^1.5.0"
django-upgrade = "^1.29.1" # update pre-commit-config.yaml too
django-upgrade = "^1.30.0" # update pre-commit-config.yaml too
djhtml = "^3.0.10" # update pre-commit-config.yaml too
pyupgrade = "^3.21.2" # update pre-commit-config.yaml too
pre-commit = "^4.5.0"
ruff = "^0.14.8" # update pre-commit-config.yaml too
pre-commit = "^4.5.1"
ruff = "^0.15.5" # update pre-commit-config.yaml too

# Documentation
mkdocs = "^1.6.1"
mkdocs-material = "^9.6.14"
pymdown-extensions = "^10.15"
mkdocs-material = "^9.7.0"
pymdown-extensions = "^10.18"

# Testing
factory-boy = "^3.3.3"
faker = "^38.2.0"
wagtail-factories = "^4.2.1"
wagtail-factories = "^4.3.0"
tblib = "^3.1.0"


Expand Down