Skip to content

Commit

Permalink
Merge pull request #33 from torchbox-forks/support/wagtail-60
Browse files Browse the repository at this point in the history
Wagtail 6.0
  • Loading branch information
katdom13 authored Mar 7, 2024
2 parents ce465b9 + 749a545 commit 4fd54a7
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 18 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Set up Python 3
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3

Expand All @@ -23,7 +23,7 @@ jobs:
run: python setup.py bdist_wheel sdist

- name: Upload Python packages artifact
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: Python Packages
path: dist
Expand Down
26 changes: 15 additions & 11 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,21 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python: ["3.11", "3.10", "3.9", "3.8"]
django: ["django>=3.2,<3.3", "django>=4.1,<4.2", "django>=4.2,<4.3"]
wagtail: ["wagtail>=4.1,<4.2", "wagtail>=5.1,<5.2", "wagtail>=5.2,<5.3"]
python: ["3.12", "3.11", "3.10", "3.9", "3.8"]
django: ["django>=3.2,<3.3", "django>=4.2,<4.3", "django>=5.0,<5.1"]
wagtail: ["wagtail>=5.2,<5.3", "wagtail>=6.0,<6.1"]
exclude:
- python: "3.11"
django: django>=3.2,<3.3
- django: django>=4.2,<4.3
wagtail: wagtail>=4.1,<4.2
- django: django>=3.2,<3.3
wagtail: wagtail>=6.0,<6.1
- python: "3.8"
django: django>=5.0,<5.1
- python: "3.9"
django: django>=5.0,<5.1
- python: "3.12"
django: django>=4.2,<4.3
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
cache: "pip"
Expand All @@ -35,6 +39,6 @@ jobs:
coverage report
coverage xml
- if: ${{ matrix.latest }}
uses: codecov/codecov-action@v2
uses: codecov/codecov-action@v4
with:
name: Python 3.9
name: Python 3.12
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
default_language_version:
node: system
python: python3.9
python: python3.12
repos:
- repo: https://github.com/python/black
rev: 22.3.0
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

- Add support for Wagtail 6.0
- Add support for Django 5.0
- Drop support for Wagtail < 5.2

## 2.1.0 (2024-03-07)

- Add support for Wagtail 5.1+
Expand Down
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
author="Kevin Howbrook",
author_email="kevin.howbrook@torchbox.com",
license="BSD",
install_requires=["wagtail>=4.1"],
install_requires=["wagtail>=5.2"],
classifiers=[
"Environment :: Web Environment",
"Intended Audience :: Developers",
Expand All @@ -34,9 +34,10 @@
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Framework :: Wagtail",
"Framework :: Wagtail :: 4",
"Framework :: Wagtail :: 5",
"Framework :: Wagtail :: 6",
],
extras_require={"testing": testing_extras, "development": development_extras},
)
1 change: 0 additions & 1 deletion wagtail_jotform/tests/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
"wagtail.contrib.routable_page",
"wagtail.contrib.frontend_cache",
"wagtail.contrib.settings",
"wagtail.contrib.modeladmin",
"wagtail.contrib.table_block",
"wagtail.contrib.forms",
"wagtail.embeds",
Expand Down

0 comments on commit 4fd54a7

Please sign in to comment.