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

Update Django to Version 5.0 #742

Closed
afuetterer opened this issue Sep 27, 2023 · 3 comments
Closed

Update Django to Version 5.0 #742

afuetterer opened this issue Sep 27, 2023 · 3 comments

Comments

@afuetterer
Copy link
Member

afuetterer commented Sep 27, 2023

Rationale / Begründung

After updating to Django 4.2 just recently, there is already an alpha release of Django 5.0. The official release is scheduled for 2023-12-04. We could add another test case to catch breaking changes early on. Dependabot would also send us a PR in December, but it might be nice to be prepared for this update, with Django being rdmo's main dependency.

Affected

Admins, Devs

Notes

In GitHub Actions:

  • add django5 matrix entry, using include
  • in tests step add pip install django ~5 at the end

References / Verweise

@afuetterer
Copy link
Member Author

Django 5.0 is in beta now. It only supports Python >= 3.10.
https://docs.djangoproject.com/en/dev/releases/5.0/#python-compatibility

What does this mean for rdmo? Stick with Django 4.2 to be Python 3.8 and 3.9 compatible?

@jochenklar
Copy link
Member

Yes please, for as long as possible.

@afuetterer
Copy link
Member Author

Summary:

Django cannot be updated to 5.0, because it will drop Support for Python <= 3.10.
Django 4.2 is a LTS version, that receives extended support until 2026. Python 3.9 EOLs in 2025.

Django 4.2 is here to stay for the next two years.

Refs:

@afuetterer afuetterer closed this as not planned Won't fix, can't repro, duplicate, stale Dec 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants