Skip to content

Commit

Permalink
Wagtail 6.3, Django 5.1 and Python 3.13 support (#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
Stormheg authored Nov 18, 2024
1 parent a049342 commit 1ecc8d8
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: 3.12
python-version: 3.13

- name: Install Python dependencies
run: pip install build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: 3.12
python-version: 3.13

- name: Install Python dependencies
run: pip install build
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-python@v5
with:
python-version: 3.12
python-version: 3.13
- uses: pre-commit/[email protected]

test_python:
Expand All @@ -61,15 +61,15 @@ jobs:
continue-on-error: ${{ matrix.experimental }}
strategy:
matrix:
python: ["3.9", "3.10", "3.11", "3.12"]
python: ["3.9", "3.10", "3.11", "3.12", "3.13"]
experimental: [false]
toxenv: ["py"]
include:
# Future Wagtail release from main branch (allowed to fail)
- python: "3.12"
- python: "3.13"
toxenv: wagtailmain-sqlite
experimental: true
- python: "3.12"
- python: "3.13"
toxenv: wagtailmain-postgres
experimental: true
steps:
Expand Down
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [0.12] - [Unreleased]

Nothing new yet.
- [Add support for Wagtail 6.3 LTS](https://github.com/wagtail-nest/wagtail-ab-testing/pull/91)
- [Add support for Django 5.1](https://github.com/wagtail-nest/wagtail-ab-testing/pull/91)
- [Add support for Python 3.13](https://github.com/wagtail-nest/wagtail-ab-testing/pull/91)

## [0.11.1] - 2024-10-02

Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ classifiers = [
"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",
]
dependencies = [
"numpy>=1.19.4,<2",
Expand All @@ -37,8 +37,8 @@ dependencies = [
[project.optional-dependencies]
testing = [
"coverage[toml]>=7.2.7,<8.0",
"dj-database-url==0.5.0",
"freezegun==1.2.1",
"dj-database-url==2.3.0",
"freezegun==1.5.1",
"pre-commit>=3.4.0",
]

Expand Down
4 changes: 4 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ envlist =
; Wagtail 6.1 + 6.2
py{39,310,311,312}-django42-wagtail{61,62}-{sqlite,postgres}
py{310,311,312}-django50-wagtail{61,62}-{sqlite,postgres}
py{310,311,312,313}-django51-wagtail63-{sqlite,postgres}

[testenv]
allowlist_externals = coverage
Expand All @@ -15,16 +16,19 @@ basepython =
py310: python3.10
py311: python3.11
py312: python3.12
py313: python3.13

deps =
coverage
django32: django>=3.2,<4.0
django42: django>=4.2,<5
django50: django>=5.0,<5.1
django51: django>=5.1,<5.2

wagtail52: wagtail~=5.2.0
wagtail61: wagtail~=6.1.0
wagtail62: wagtail~=6.2.0
wagtail63: wagtail~=6.3.0

postgres: psycopg2>=2.9
extras = testing
Expand Down

0 comments on commit 1ecc8d8

Please sign in to comment.