-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade testing for Wagtail 6.3 #147
Conversation
Also: - Removes Python 3.8 from the test matrix. - Adds Django 5.1 to the test matrix. - Updates the classifiers in `pyproject.toml` to include Django 5.1 and Wagtail 6.3. - Updates the `tox.ini` file to include Django 5.1 and Wagtail 6.3 in the test matrix.
There is a deprecation warning for: https://docs.wagtail.org/en/stable/releases/6.0.html#deprecated-widgetwithscript-base-widget-class but I think that should be a separate piece of work and isn't included here. |
- uses: actions/checkout@v4 | ||
- name: Install Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.12" | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install ruff | ||
- name: Run Ruff | ||
run: ruff check --output-format=github ./src/wagtailmarkdown |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These changes are not needed.
What we do need is to install the same ruff version as in pre-commit https://github.com/torchbox/wagtail-markdown/blob/main/.pre-commit-config.yaml#L23C11-L23C17
a la https://github.com/torchbox/wagtail-periodic-review/blob/main/.github/workflows/ruff.yml
py{311,312}-django5.0-wagtail{5.2,6.0,main} | ||
py{39,310,311}-django4.2-wagtail{5.2,6.2,6.3} | ||
py{311,312}-django5.0-wagtail{5.2,6.2,6.3} | ||
py{311,312}-django5.1-wagtail{6.3,main} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's add Python 3.13 to the mix too
closing in favour of #149 |
This pull request includes: updates to the CI workflows and testing configurations to remove support for Python 3.8 and Django 3.2, and to add support for newer versions of Django and Wagtail.
CI Workflow Updates:
.github/workflows/ci.yml
: Removed Python 3.8 from the matrix of Python versions..github/workflows/ruff.yml
: Updated the Ruff workflow to useactions/setup-python@v5
and install dependencies with Python 3.12.Dependency Management:
pyproject.toml
: Removed classifiers for Python 3.8 and Django 3.2, and added a classifier for Django 5.1.Testing Configuration:
tox.ini
: Updated theenvlist
to remove Python 3.8 and add configurations for Django 5.1 and newer versions of Wagtail.tox.ini
: Updateddeps
to remove Django 3.2 and add Django 5.1 and newer versions of Wagtail.