-
Notifications
You must be signed in to change notification settings - Fork 54
build(deps): bump django to 5.2 lts #1457
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
build(deps): bump django to 5.2 lts #1457
Conversation
|
I ran What do you think? |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
|
Nope, not for RDMO. |
|
Anything else interesting in the list of changes? |
e8c68be to
16f7b8b
Compare
6c6f9e3 to
f4c7c9d
Compare
f4c7c9d to
7a227c5
Compare
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
|
we will try this for the 2.5.0 release, @jochenklar |
This comment was marked as resolved.
This comment was marked as resolved.
yes exactly, thanks! I've just changed the target branch to the |
d4bae55 to
57c17ab
Compare
|
Rebased to 2.5.0/release branch. |
|
I removed upgrades done with |
| PROJECT_CONTACT = True | ||
| PROJECT_CONTACT_RECIPIENTS = ['email@example.com'] | ||
|
|
||
| # Ref: https://adamj.eu/tech/2023/12/07/django-fix-urlfield-assume-scheme-warnings |
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.
I followed the writeup available at: https://adamj.eu/tech/2023/12/07/django-fix-urlfield-assume-scheme-warnings
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.
So there is a warning we need to suppress, even if we set it explicitly? This is a bit weird.
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.
It seems so, sorry. If you remove this "hack", you get an error.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
|
CI passed for 3.10 and 3.13, yay. Anybody wants to test on their servers with real world data? |
|
With 3.14 it almost works. index 2c446d519..c9bcfee38 100644
--- a/rdmo/core/tests/test_utils.py
+++ b/rdmo/core/tests/test_utils.py
@@ -42,7 +42,7 @@ valid_date_strings = [
]
invalid_date_strings = [
- ("2025-02-31","day is out of range for month"),
+ ("2025-02-31","day 31 must be in range 1..28 for month 2 in year 2025"),
("2025-17-02", "month must be in 1..12"),
("99/99/9999", "Invalid date format"),
("abcd-ef-gh", "Invalid date format"),I think @MyPyDavid added this test. Maybe we just get rid of the test for the string instead of checking for python versions. |
|
According to the discussion in #742, I did not include 3.14 in this PR. |
|
Alright, got it. |
|
What else needs to be addressed in this PR? Otherwise I will set it to ready for review, after squashing the commits. |
|
I checked it out and it looks good to me. I would approve it like this as well, you don't need to squash commits necessarily! |
|
I have commits with stupid messages dangling in this branch like "settings" and "warnings". Will clean that up. How about the changelog stuff? Will this be done when finishing the release? As I stated in the PR description this change would require admins to e.g. bump postgres to >= 14.
|
Signed-off-by: David Wallace <david.wallace@tu-darmstadt.de>
6e100f2 to
ab36c2f
Compare
|
Good point. I usually write the CHANGELOG in the end, to avoid merging/rebasing the file all the time. I will put it in my notes. |
Excellent, as I said earlier, these are the django changelogs when bumping 4.2 to 5.2. |
jochenklar
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.
Awesome thanks!
MyPyDavid
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.
thank you 🙏 for 5.2!
|
Permission to merge? |
|
I don't want to interfere with your planning of 2.5.0. Can this be merged now or should features come first? |
|
Sorry, please merge! |
Description
Related issue: #742
Ref: https://docs.djangoproject.com/en/5.2/releases/5.2/
Tasks
RemovedInNextVersionWarning(future proofing)How has this been tested?
I created a PR in my fork, which successfully completed.