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

Support/wagtail 5.1 #3

Closed
wants to merge 3 commits into from
Closed

Support/wagtail 5.1 #3

wants to merge 3 commits into from

Conversation

nickmoreton
Copy link
Collaborator

@nickmoreton nickmoreton commented Oct 4, 2023

Wagtail 5.1 update

The only changes here are to update the test matrix and supported versions. The package should work OK with Wagtail v5.1

@nickmoreton nickmoreton marked this pull request as ready for review October 4, 2023 13:55
Comment on lines +9 to +15
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
contents: read # to fetch code (actions/checkout)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Has the effect of cancelling previous running tests if new tests are requested.

Comment on lines -11 to -14
name: |
build (Python ${{ matrix.python-version }},
Django ${{ matrix.django-version }},
Wagtail ${{ matrix.wagtail-version }}),
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Removed so that running tests have a more meaningful sidebar title. The title will now show the Python version been test in each job.

Choose a reason for hiding this comment

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

This looks good, it's much clearer

Comment on lines -19 to -36
python-version: ["3.8", "3.9", "3.10", "3.11"]
django-version: ["3.2", "4.1", "4.2"]
wagtail-version: ["4.1", "4.2", "5.0"]
exclude:
- python-version: "3.8"
django-version: "4.2"
- python-version: "3.9"
django-version: "4.2"
- python-version: "3.10"
django-version: "4.2"
- python-version: "3.11"
django-version: "3.2"
- python-version: "3.11"
wagtail-version: "4.1"
- python-version: "3.11"
wagtail-version: "4.2"
- django-version: "3.2"
wagtail-version: "5.0"
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This isn't required when using tox-gh-actions. The test matrix is defined in the tox.ini file

Choose a reason for hiding this comment

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

Looks good, much clearer as well!

Comment on lines +23 to +24
Django>=3.2, <4.3
wagtail>=4.1, <5.2
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

While i have made some changes here they are duplicates of some config in setup.py and don't seem to be used.

Choose a reason for hiding this comment

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

Ah okay, yeah, looks good

@lparsons396
Copy link

This all look great, I think your changes make it much clearer!

@katdom13 katdom13 mentioned this pull request Nov 16, 2023
@katdom13
Copy link
Collaborator

Hi @nickmoreton ,
This was superseded by: https://github.com/torchbox-forks/wagtail-makeup/pull/4/commits
Closing this

@katdom13 katdom13 closed this Nov 23, 2023
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.

3 participants