-
Notifications
You must be signed in to change notification settings - Fork 46
Upgrade to Django 5.2 & support Python 3.13 #3837
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
base: develop
Are you sure you want to change the base?
Conversation
1abb293 to
7b35ed6
Compare
|
@svenseeberg Could you please rebase this PR to a more recent version? That would be great! 😊 |
I'm working on a fix for it 👍 |
|
@MizukiTemma Could you please test this branch in the next week and just check if this PR breaks any functionality. I already did it myself, but I think we need another set of eyes here :) Since I mostly tested as root, it would be great if you could test other user roles :) EDIT: Could you also please do some more exhaustive testing for mirroring regions and pages? That would be awesome! EDIT2: You can do a full review now :) |
7190826 to
b9f2fd8
Compare
|
TODOS
|
Same with a new page and event 😿 |
|
Thank you for the review |
|
We have somewhat of a deadline for this: support for 4.2LTE ends in April of 2026 :/ |
ba31969 to
eae92da
Compare
|
We need to update treebeard as well, because the version that we use (4.7.1) doesn't support Django5.2. |
|
Intermediate result: We're down to 32 failing tests (which is another -30) 🎉 Next TODOS:
Remaining 32 failing tests:
|
714c132 to
b5aa921
Compare
b5aa921 to
5852aa3
Compare
|
Current state of this: waiting for feedback from @MizukiTemma and @svenseeberg |
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.
Thanks for your work @PeterNerlich and @JoeyStk 🚀. This seems to work well 🥳. I did not test all existing CMS functionality but clicked through most of the forms, saved objects, activated new users, etc and everything worked. I think this change is ready to be tested on the test system.
On the test system we should make sure that especially test filled out page/poi/event forms but missing translation data to see what happens. AFAICT the JS catches missing translations and in practice this should never become an issue.
Last but not least we would not have needed all those if not self.pk: checks as we now create the related objects first. But they do not harm either so I would keep that for sanity reasons.
Consider this an approve ✔️
*edit: the commits should be squashed though ;)
JoeyStk
left a comment
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.
(Approve by Sven)
MizukiTemma
left a comment
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.
Works as beofre so far as I tested 😸
Thank you so much 👍
Short description
In general it seems to work quite well. Some problems occur.
Proposed changes
Side effects
ValueError: Model instances passed to related filters must be saved., see conversationValueErrorin terminal because Page does not exist (happens for example when creating a new page)Faithfulness to issue description and design
There are no intended deviations from the issue and design.
Resolved issues
Fixes: #
Blocks: #3826
Pull Request Review Guidelines