diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0b9f14d..31527ab 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 diff --git a/CHANGELOG.md b/CHANGELOG.md index d0a25bc..39764bc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/pyproject.toml b/pyproject.toml index 7f002eb..54ed8e3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,18 +11,18 @@ 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" @@ -30,11 +30,11 @@ 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] diff --git a/tox.ini b/tox.ini index 455b44b..45319ce 100644 --- a/tox.ini +++ b/tox.ini @@ -1,27 +1,26 @@ [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 @@ -29,10 +28,6 @@ commands = pytest {posargs} [testenv:lint] -deps = - black==23.1.0 - flake8==6.0.0 - isort==5.12.0 commands = ruff check . ruff format . --check