Skip to content

Commit 3d9014c

Browse files
Update Tox for Wagtail 6.3 (#251)
* drop support for Python 3.8 * update tox setup add Wagtail 6.2 and 6.3, Django 5.1 and Python 3.13 to tox tests. Drop Python 3.8 and Wagtail 6.0 and 6.1 * update readme supported versions
1 parent 7134319 commit 3d9014c

File tree

4 files changed

+13
-11
lines changed

4 files changed

+13
-11
lines changed

.github/workflows/test.yml

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

2929
strategy:
3030
matrix:
31-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
31+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
3232

3333
steps:
3434
- name: 🔒 Harden Runner

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ but for audio and video files.
1313

1414
wagtailmedia requires the following:
1515

16-
- Python (3.8, 3.9, 3.10, 3.11, 3.12)
16+
- Python (3.9, 3.10, 3.11, 3.12, 3.13)
1717
- Django (4.2, 5.0, 5.1)
18-
- Wagtail (5.2, 6.1)
18+
- Wagtail (5.2, 6.2, 6.3)
1919

2020
## Install
2121

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,18 @@ classifiers = [
1414
"License :: OSI Approved :: BSD License",
1515
"Programming Language :: Python",
1616
"Programming Language :: Python :: 3",
17-
"Programming Language :: Python :: 3.8",
1817
"Programming Language :: Python :: 3.9",
1918
"Programming Language :: Python :: 3.10",
2019
"Programming Language :: Python :: 3.11",
2120
"Programming Language :: Python :: 3.12",
21+
"Programming Language :: Python :: 3.13",
2222
"Framework :: Wagtail",
2323
"Framework :: Wagtail :: 5",
2424
"Framework :: Wagtail :: 6",
2525
]
2626

2727
dynamic = ["version"]
28-
requires-python = ">=3.8"
28+
requires-python = ">=3.9"
2929
dependencies = [
3030
"Wagtail>=5.2",
3131
"Django>=4.2",

tox.ini

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,24 @@
22
min_version = 4.11
33

44
env_list =
5-
py{38,39,310,311}-dj42-wagtail{52,60,61}
6-
py{310,311,312}-dj50-wagtail{52,60,61}
5+
py{39,310,311}-dj42-wagtail{52}
6+
py{310,311,312}-dj50-wagtail{52,62,63}
7+
py{310,311,312,313}-dj51-wagtail63
78

89
base_python =
9-
py38: python3.8
1010
py39: python3.9
1111
py310: python3.10
1212
py311: python3.11
1313
py312: python3.12
14+
py313: python3.13
1415

1516
[gh-actions]
1617
python =
17-
3.8: py38
1818
3.9: py39
1919
3.10: py310
2020
3.11: py311
2121
3.12: py312
22+
3.13: py313
2223

2324
[testenv]
2425
package = wheel
@@ -39,9 +40,10 @@ deps =
3940
coverage>=7.0,<8.0
4041
dj42: Django>=4.2,<5.0
4142
dj50: Django>=5.0,<5.1
43+
dj51: Django>=5.1,<5.2
4244
wagtail52: wagtail>=5.2,<6.0
43-
wagtail60: wagtail>=6.0,<6.1
44-
wagtail61: wagtail>=6.1,<6.2
45+
wagtail62: wagtail>=6.2,<6.3
46+
wagtail63: wagtail>=6.3,<6.4
4547

4648
install_command = python -Im pip install --upgrade {opts} {packages}
4749

0 commit comments

Comments
 (0)