Skip to content

Commit

Permalink
Add Wagtail 6.3, Django 5.1 and Python 3.13 to test matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
Stormheg committed Nov 7, 2024
1 parent 8b6a4ea commit a5ad547
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 7 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
2 changes: 1 addition & 1 deletion 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 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 a5ad547

Please sign in to comment.