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

steps:
- name: Checkout repository
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
14 changes: 7 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"flake8>=7.0.0,<7.1",
"isort>=5.10.1",
# For test site
"wagtail>=4.1",
"wagtail>=5.2",
]

# Documentation dependencies
Expand All @@ -46,23 +46,23 @@
"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",
"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>=5.2"],
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding wagtail as a dependency seems like a good idea so were matching the versions currently tested.

extras_require={
"testing": testing_extras,
"docs": documentation_extras,
Expand Down
19 changes: 7 additions & 12 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -7,33 +7,28 @@
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{39}-dj42-wt{52,63,64,70}-dr4
py{310,311,312,313}-dj{51,52}-wt{63,63,70}-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

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
wt63: wagtail>=6.3,<6.4
wt64: wagtail>=6.4,<6.5
wt70: wagtail>=7.0,<7.1
dr4: django_recaptcha>=4.0.0,<5.0.0

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

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