Skip to content
Draft
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/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python: ["3.8", "3.9", "3.10", "3.11"]
python: ["3.10", "3.11", "3.12", "3.13", "3.14"]

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v5

- name: Set up Python
id: setup-python
uses: actions/setup-python@v4
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python }}

Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ tests/testapp/var/media/
coverage
coverage_html_report/
venv/
.tox
25 changes: 12 additions & 13 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@
# Testing dependencies
testing_extras = [
# Required for running the tests
"tox>=4.18.1,<4.19",
"tox>=4.32.0,<5",
# For coverage and PEP8 linting
"coverage>=6.5.0,<6.6",
"flake8>=7.0.0,<7.1",
"isort>=5.10.1",
"coverage>=7.11.3,<7.12",
"flake8>=7.3.0,<7.4",
"isort>=7.0.0,<8",
# For test site
"wagtail>=4.1",
"wagtail>=7.0",
]

# Documentation dependencies
Expand All @@ -46,23 +46,22 @@
"Operating System :: OS Independent",
"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",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Framework :: Django",
"Framework :: Django :: 3.2",
"Framework :: Django :: 4.1",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.1",
"Framework :: Django :: 5.2",
"Framework :: Wagtail",
"Framework :: Wagtail :: 3",
"Framework :: Wagtail :: 4",
"Framework :: Wagtail :: 5",
"Framework :: Wagtail :: 6",
"Framework :: Wagtail :: 7",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
],
install_requires=["django-recaptcha>=4"],
install_requires=["django-recaptcha>=4", "wagtail>=7.0"],
extras_require={
"testing": testing_extras,
"docs": documentation_extras,
Expand Down
26 changes: 10 additions & 16 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -7,33 +7,27 @@
skipsdist = True
usedevelop = True
envlist =
py{38,39,310,311}-dj42-wt{50,51,52,60,61,62}-dr4
py{310,311,312}-dj50-wt{52,60,61,62}-dr4
py{310,311,312}-dj51-wt{60,61,62}-dr4
py{310,311,312}-dj42-wt{70,72}-dr4
py{310,311,312,313}-dj{51,52}-wt{70,72}-dr4
py314-dj52-wt{70,72}-dr4

[testenv]
install_command = pip install -e ".[testing]" -U {opts} {packages}
allowlist_externals =
make

basepython =
py38: python3.8
py39: python3.9
py310: python3.10
py311: python3.11
py312: python3.12

py313: python3.13
py314: python3.14
deps =
dj42: Django>=4.2,<4.3
dj50: Django>=5.0,<5.1
dj51: Django>=5.1,<5.2
wt42: wagtail>=4.2,<5.0
wt50: wagtail>=5.0,<5.1
wt51: wagtail>=5.1,<5.2
wt52: wagtail>=5.2,<5.3
wt60: wagtail>=6.0,<6.1
wt61: wagtail>=6.1,<6.2
wt62: wagtail>=6.2,<6.3
dj52: Django>=5.2,<5.3
wt70: wagtail>=7.0,<7.1
wt72: wagtail>=7.2,<7.3
dr4: django_recaptcha>=4.0.0,<5.0.0

commands =
Expand All @@ -42,8 +36,8 @@ commands =

[gh-actions]
python =
3.8: py38
3.9: py39
3.10: py310
3.11: py311
3.12: py312
3.13: py313
3.14: py314