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 @@ -33,7 +33,7 @@ jobs:
needs: lint
strategy:
matrix:
python: ['3.9', '3.10', '3.11', '3.12', '3.13']
python: ['3.10', '3.11', '3.12', '3.13', '3.14']

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

## Unreleased

- Add testing for Wagtail 6.3 & 7.0
- Use python 3.13 across workflows and formatting
- Add testing/support for Wagtail 7.2
- Pin the minimum supported Wagtail version to 7.0

## v2.0.1 (2024-10-22)

Expand Down
14 changes: 7 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,30 +11,30 @@ license = {file = "LICENSE"}
classifiers = [
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3",
"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",
]
keywords = ["django", "anonymization", "data cleaning"]
dependencies = [
"Faker>=8",
"Django>=4.2",
]
requires-python = ">=3.9"
requires-python = ">=3.10"

[project.urls]
Home = "https://github.com/torchbox/django-birdbath"

[project.optional-dependencies]
dev = [
"django>=4.2",
"pre-commit>=3.8.0",
"pytest~=8.3",
"pytest-django~=4.9",
"ruff==0.6.9",
"wagtail>=5.2",
"pre-commit>=4.3.0",
"pytest~=8.4",
"pytest-django~=4.11",
"ruff==0.4.10",
"wagtail>=7.0",
]

[tool.flit.module]
Expand Down
19 changes: 7 additions & 12 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,38 +1,33 @@
[tox]
envlist =
# Django versions with their respectively supported Python versions and the most recent Wagtail LTS
py{39,310,311,312}-django42-wagtail{63,70}
py{310,311,312,313}-django{51,52}-wagtail{63,70}
# Old Wagtail versions with the oldest Django LTS and Python
py39-django42-wagtail52
py{310,311,312}-django42-wagtail{70,72}
py{310,311,312,313}-django{51,52}-wagtail{70,72}
py314-django52-wagtail{70,72}

isolated_build = True

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

[testenv]
deps =
django42: Django>=4.2,<5.0
django42: Django>=4.2,<4.3
django51: Django>=5.1,<5.2
django52: Django>=5.2,<5.3
wagtail52: wagtail>=5.2,<5.3
wagtail70: wagtail>=7.0,<7.1
wagtail72: wagtail>=7.2,<7.3
pytest
pytest-django
extras = dev
commands =
pytest {posargs}

[testenv:lint]
deps =
black==23.1.0
flake8==6.0.0
isort==5.12.0
commands =
ruff check .
ruff format . --check