Skip to content
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

Closed
wants to merge 3 commits into from

Conversation

nickmoreton
Copy link
Contributor

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:

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 the envlist to remove Python 3.8 and add configurations for Django 5.1 and newer versions of Wagtail.
  • tox.ini: Updated deps to remove Django 3.2 and add Django 5.1 and newer versions of Wagtail.

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.
@nickmoreton
Copy link
Contributor Author

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.

Comment on lines +16 to +26
- 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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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}
Copy link
Member

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

@zerolab zerolab mentioned this pull request Dec 6, 2024
@zerolab
Copy link
Member

zerolab commented Dec 6, 2024

closing in favour of #149

@zerolab zerolab closed this Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants