Skip to content

Commit 5424e8d

Browse files
committed
Bump supported versions
- Drop Python 3.8, end of life - Add Python 3.13 - Add Django 5.1 - Add Wagtail 6.3 - Drop testing against Wagtail 6.0 and 6.1
1 parent 275559f commit 5424e8d

8 files changed

Lines changed: 23 additions & 22 deletions

File tree

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
jobs:
22
nightly-wagtail-test:
33
docker:
4-
- image: circleci/python:3.8
4+
- image: circleci/python:3.9
55
steps:
66
- checkout
77
- run: git clone git@github.com:wagtail/wagtail.git

.github/workflows/publish-test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ jobs:
1717

1818
- uses: actions/setup-python@v5
1919
with:
20-
python-version: 3.12
20+
python-version: 3.13
2121

2222
- run: |
23-
pip install setuptools
24-
python setup.py sdist
23+
pip install build
24+
python -m build .
2525
2626
- uses: actions/upload-artifact@v4
2727
with:

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818

1919
- uses: actions/setup-python@v5
2020
with:
21-
python-version: 3.12
21+
python-version: 3.13
2222

2323
- run: |
2424
pip install build

.github/workflows/test.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,9 @@ jobs:
1515
- uses: actions/checkout@v4
1616
with:
1717
fetch-depth: 0
18-
- name: Set up Python 3.8
19-
uses: actions/setup-python@v5
18+
- uses: actions/setup-python@v5
2019
with:
21-
python-version: 3.8
20+
python-version: 3.9
2221
cache: 'pip'
2322
- name: Install dependencies
2423
run: |
@@ -32,12 +31,12 @@ jobs:
3231
continue-on-error: ${{ matrix.experimental }}
3332
strategy:
3433
matrix:
35-
python: ["3.8", "3.9", "3.10", "3.11", "3.12"]
34+
python: ["3.9", "3.10", "3.11", "3.12", "3.13"]
3635
experimental: [false]
3736
toxenv: ["py"]
3837
include:
3938
# Future Wagtail release from main branch (allowed to fail)
40-
- python: "3.12"
39+
- python: "3.13"
4140
toxenv: wagtailmain
4241
experimental: true
4342
steps:

CHANGELOG.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
99

1010
### Added
1111

12-
- Compatibility with Python 3.12.
13-
- Compatibility with Wagtail 6.0, 6.1 and 6.2. [#95](https://github.com/wagtail-nest/wagtail-bakery/pull/95)
14-
- Compatibility with Django 5.0. [#95](https://github.com/wagtail-nest/wagtail-bakery/pull/95)
12+
- Compatibility with Python 3.12 and 3.13
13+
- Compatibility with Wagtail 6.1, 6.2 and 6.3.
14+
- Compatibility with Django 5.0 and 5.1.
1515
- Switch `setup.py` to `pyproject.toml`.
1616
- Linting with `black`, `isort` and `flake8`.
1717
- Added back coverage reporting.
@@ -25,6 +25,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
2525

2626
- Drop support for Wagtail before 5.2. [#95](https://github.com/wagtail-nest/wagtail-bakery/pull/95)
2727
- Drop support for Django before 4.2. [#95](https://github.com/wagtail-nest/wagtail-bakery/pull/95)
28+
- Drop Python 3.8 support as it is end of life.
2829

2930
## [0.8.0](https://github.com/wagtail-nest/wagtail-bakery/compare/0.7.0...0.8.0)
3031

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ If you want to send an encrypted email (optional), the public key ID for securit
3232

3333
## Supported Versions
3434

35-
- Python 3.8 - 3.12
36-
- Django 4.2 - 5.0
35+
- Python 3.9 - 3.13
36+
- Django 4.2 - 5.1
3737
- Wagtail >= 5.2
3838

3939
We aim to support the Wagtail versions as [supported](http://docs.wagtail.org/en/latest/releases/upgrading.html) by Wagtail (current LTS, current stable).

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ readme = "README.md"
1010
authors = [
1111
{ name = "Wagtail Nest team", email = "hello@wagtail.org" },
1212
]
13+
requires-python = ">=3.9"
1314
classifiers = [
1415
"Development Status :: 3 - Alpha",
1516
"Environment :: Web Environment",
@@ -21,11 +22,11 @@ classifiers = [
2122
"Operating System :: OS Independent",
2223
"Topic :: Software Development :: Build Tools",
2324
"Programming Language :: Python :: 3",
24-
"Programming Language :: Python :: 3.8",
2525
"Programming Language :: Python :: 3.9",
2626
"Programming Language :: Python :: 3.10",
2727
"Programming Language :: Python :: 3.11",
2828
"Programming Language :: Python :: 3.12",
29+
"Programming Language :: Python :: 3.13",
2930
]
3031
dependencies = [
3132
"django-bakery~=0.13.1",

tox.ini

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
# Necessary because we are using pyproject.toml
33
isolated_build = true
44
envlist=
5-
py{38,39,310,311}-django42-wagtail52 # Wagtail 5.2 LTS - all supported Pythons - supported Django
5+
py{39,310,311}-django42-wagtail52 # Wagtail 5.2 LTS - all supported Pythons - supported Django
66
py{310,311,312}-django50-wagtail52 # Wagtail 5.2 LTS - all supported Pythons for Django 5.0
7-
py{38,39,310,311,312}-django42-wagtail{60,61} # Wagtail 6.0 and 6.1 - all supported Python - supported Django
8-
py{310,311,312}-django50-wagtail{60,61,62} # Wagtail 6.0 - 6.2 - all supported Python - all supported Pythons for Django 5.0
7+
py{310,311,312}-django50-wagtail62 # Wagtail 6.2 - all supported Python - all supported Pythons for Django 5.0
8+
py{310,311,312,313}-django51-wagtail63 # Wagtail 6.3 - all supported Python - all supported Pythons for Django 5.1
99
wagtailmain # Wagtail main latest compatible version
1010

1111
[testenv]
@@ -16,10 +16,10 @@ setenv=
1616
deps=
1717
django42: django>=4.2,<5
1818
django50: django>=5.0,<5.1
19-
wagtail52: wagtail>=5.2,<5.3 # Current LTS
20-
wagtail60: wagtail>=6.0,<6.1
21-
wagtail61: wagtail>=6.1,<6.2
19+
django51: django>=5.1,<5.2
20+
wagtail52: wagtail>=5.2,<5.3 # Old LTS
2221
wagtail62: wagtail>=6.2,<6.3
22+
wagtail63: wagtail>=6.3,<6.4 # Current LTS
2323
extras=test
2424

2525
[testenv:wagtailmain]

0 commit comments

Comments
 (0)