Skip to content

Commit

Permalink
Adjust tox testing for Wagtail 6.3 (#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
nickmoreton authored Nov 19, 2024
1 parent 2569b4b commit 6049a81
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
needs: lint
strategy:
matrix:
python: ["3.8", "3.9", "3.10", "3.11", "3.12"]
python: ["3.9", "3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Unreleased

- Update tox testing to include Wagtail 6.3
- Add tox testing for Django 5.1
- Drop testing around python 3.8

## 0.13.0

- Made the footnotes orderable (https://github.com/torchbox/wagtail-footnotes/pull/74) @willbarton
Expand Down
5 changes: 2 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,22 +17,21 @@ classifiers = [
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Framework :: Django",
"Framework :: Django :: 3.2",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.0",
"Framework :: Django :: 5.1",
"Framework :: Wagtail",
"Framework :: Wagtail :: 5",
"Framework :: Wagtail :: 6",
]

dynamic = ["version"] # will read __version__ from wagtail_footnotes/__init__.py
requires-python = ">=3.8"
requires-python = ">=3.9"
dependencies = [
"Wagtail>=5.2",
"Django>=3.2",
Expand Down
13 changes: 7 additions & 6 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
min_version = 4.0

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

[gh-actions]
python =
3.8: python3.8
3.9: python3.9
3.10: python3.10
3.11: python3.11
Expand All @@ -30,10 +30,11 @@ set_env =
deps =
django4.2: Django>=4.2,<4.3
django5.0: Django>=5.0,<5.1
django5.1: Django>=5.1,<5.2

wagtail5.2: wagtail>=5.2,<5.3
wagtail6.1: wagtail>=6.1,<6.2
wagtail6.2: wagtail>=6.2,<6.3
wagtail6.3: wagtail>=6.3,<6.4


extras = testing
Expand All @@ -50,12 +51,12 @@ commands =

[testenv:interactive]
description = An interactive environment for local testing purposes
base_python = python3.11
base_python = python3.12

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

commands_pre =
python testmanage.py makemigrations --settings=tests.settings
Expand Down

0 comments on commit 6049a81

Please sign in to comment.