Skip to content

Commit 6049a81

Browse files
authored
Adjust tox testing for Wagtail 6.3 (#79)
1 parent 2569b4b commit 6049a81

File tree

4 files changed

+14
-10
lines changed

4 files changed

+14
-10
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
needs: lint
4242
strategy:
4343
matrix:
44-
python: ["3.8", "3.9", "3.10", "3.11", "3.12"]
44+
python: ["3.9", "3.10", "3.11", "3.12"]
4545

4646
steps:
4747
- uses: actions/checkout@v4

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## Unreleased
44

5+
- Update tox testing to include Wagtail 6.3
6+
- Add tox testing for Django 5.1
7+
- Drop testing around python 3.8
8+
59
## 0.13.0
610

711
- Made the footnotes orderable (https://github.com/torchbox/wagtail-footnotes/pull/74) @willbarton

pyproject.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,22 +17,21 @@ classifiers = [
1717
"License :: OSI Approved :: MIT License",
1818
"Programming Language :: Python",
1919
"Programming Language :: Python :: 3",
20-
"Programming Language :: Python :: 3.8",
2120
"Programming Language :: Python :: 3.9",
2221
"Programming Language :: Python :: 3.10",
2322
"Programming Language :: Python :: 3.11",
2423
"Programming Language :: Python :: 3.12",
2524
"Framework :: Django",
26-
"Framework :: Django :: 3.2",
2725
"Framework :: Django :: 4.2",
2826
"Framework :: Django :: 5.0",
27+
"Framework :: Django :: 5.1",
2928
"Framework :: Wagtail",
3029
"Framework :: Wagtail :: 5",
3130
"Framework :: Wagtail :: 6",
3231
]
3332

3433
dynamic = ["version"] # will read __version__ from wagtail_footnotes/__init__.py
35-
requires-python = ">=3.8"
34+
requires-python = ">=3.9"
3635
dependencies = [
3736
"Wagtail>=5.2",
3837
"Django>=3.2",

tox.ini

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
min_version = 4.0
33

44
envlist =
5-
python{3.8,3.9,3.10,3.11}-django4.2-wagtail{5.2,6.1,6.2}
6-
python{3.10,3.11,3.12}-django5.0-wagtail{5.2,6.1,6.2}
5+
python{3.9,3.10,3.11}-django4.2-wagtail{5.2,6.2,6.3}
6+
python{3.10,3.11,3.12}-django5.0-wagtail{5.2,6.2,6.3}
7+
python{3.10,3.11,3.12}-django5.1-wagtail6.3
78

89
[gh-actions]
910
python =
10-
3.8: python3.8
1111
3.9: python3.9
1212
3.10: python3.10
1313
3.11: python3.11
@@ -30,10 +30,11 @@ set_env =
3030
deps =
3131
django4.2: Django>=4.2,<4.3
3232
django5.0: Django>=5.0,<5.1
33+
django5.1: Django>=5.1,<5.2
3334

3435
wagtail5.2: wagtail>=5.2,<5.3
35-
wagtail6.1: wagtail>=6.1,<6.2
3636
wagtail6.2: wagtail>=6.2,<6.3
37+
wagtail6.3: wagtail>=6.3,<6.4
3738

3839

3940
extras = testing
@@ -50,12 +51,12 @@ commands =
5051

5152
[testenv:interactive]
5253
description = An interactive environment for local testing purposes
53-
base_python = python3.11
54+
base_python = python3.12
5455

5556
; Note: the following are commented out for development convenience,
5657
; so as to test the interactive mode with a different Wagtail version
5758
; deps =
58-
; wagtail>=5.2,<6.0
59+
; wagtail>=6.3,<6.4
5960

6061
commands_pre =
6162
python testmanage.py makemigrations --settings=tests.settings

0 commit comments

Comments
 (0)