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 63 #8

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Support/wagtail 63 #8

wants to merge 3 commits into from

Conversation

nickmoreton
Copy link
Collaborator

@nickmoreton nickmoreton commented Nov 27, 2024

The most important changes include updating the Python and Django versions in various configuration files and ensuring compatibility with the latest versions of Wagtail.

Dependency and compatibility updates:

  • .github/workflows/python-tox.yml: Updated the Python versions matrix to include Python 3.13 and removed Python 3.8.
  • CHANGES: Updated to reflect the addition of support for Django 5.1 and Python 3.13, and the removal of support for Django 3.2 and Python 3.8.
  • setup.py: Updated the install_requires to require Django 4.2 or later and added classifiers for Django 5.1 and Python 3.13. [1] [2]
  • sandbox/requirements.txt: Updated to require Django 4.2 or later and updated django-debug-toolbar to version 4.4.6.

Testing configuration updates:

  • tox.ini: Updated the envlist and deps sections to include newer versions of Django and Wagtail, and removed configurations for older versions.

- Allow Django 5.1
- Drop Django 3.2
- Add Python 3.13
- Drop Python 3.8
- Add Wagtail 6.3
- Drop Wagtail 6.1
- Drop Wagtail 6.0
wagtail>=5.2
django-debug-toolbar==3.2.2
django-debug-toolbar==4.4.6
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The update here was because Django 5.1 needs a more recent version of debug toolbar

@nickmoreton nickmoreton marked this pull request as ready for review November 27, 2024 14:16
Copy link

@JakubMastalerz JakubMastalerz left a comment

Choose a reason for hiding this comment

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

LGTM, left one question

@@ -3,7 +3,12 @@ Unreleased
- Add support for Wagtail 5.2 and 6.x
- Drop support for Wagtail < 5.2
- Update `otp_form` to be compatible with Wagtail 5.2 and 6.x
- Add support for Django 5.0
- Add support for Django 5.0 (currently 5.1 is broken in example app)

Choose a reason for hiding this comment

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

Question: Are there any implications to Django 5.1 being broken in example app? I understand that the package still "works" with 5.1?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@JakubMastalerz This was something I saw when I first tested the example app but I remember once i'd updated everything that problem went away and I think I forgot to update the comment here.
Do you see any issues with it when you run make sandbox
My feeling is that it was fixed when I made the changes in: sandbox/requirements.txt

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