-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Fix CallableChoiceIterator import on Django 5.0+ #10846
Conversation
Manage this branch in SquashTest this branch here: https://laymonagefix-import-django5-2kuq9.squash.io |
Hey @laymonage — I just spotted this too.
I'm working towards a release there, so if you want to open a Issue/PR, with what you know that would be 🥰 |
Hey @carltongibson, good to see you here! I suspect the issue is around the refactoring of the |
Thanks @laymonage — carltongibson/django-filter#1605 is the tracker for this my end. 👍 |
Oh, @laymonage, If you could comment your support matrix that would be handy... (I'll do a release here, but I'm looking to drop PY37 and Django <4.2... and I don't want to cause you issues.) Ta |
@carltongibson We've dropped PY37 in #10676. We're supporting Django versions that are not EOL (see https://docs.wagtail.org/en/stable/releases/upgrading.html#compatible-django-python-versions for details). Latest feature release is 5.1, with the Given that Django 5.0 is not until December and our next feature release is in November, it's likely we won't add official support for Django 5.0 until February next year. See our release schedule for details: https://github.com/wagtail/wagtail/wiki/Release-schedule That said, we'll still support Django 3.2 even when 4.1 goes EOL. We're currently capping our django-filter dependency in this way: Line 28 in 1dbf2ec
If the next release of django-filter bumps Django requirement to 4.2 I think it's fine? Not sure how it's going to work but pip will probably be smart enough to use the last version that still supported the Django version in use by our users. For new projects, our project template defaults to >=4.2:
|
@laymonage Preliminary compat here: A bit of tidying, and a release shortly. |
@laymonage https://pypi.org/project/django-filter/23.3/ is out so this can proceed |
10affcd
to
c49518c
Compare
c49518c
to
46308b2
Compare
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.
Looks good.
Thank you for your great work @carltongibson! 🌟 |
This was changed in django/django#16943. It's not enough to make our tests pass against Django's
main
branch though, as some fixes need to be done in the upstreamdjango-filter
package.