-
Notifications
You must be signed in to change notification settings - Fork 50
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 Python version to at least 3.10 #389
Comments
Since 3.8 will be EOL in < 1 year, would it not make more sense to target a version with a greater remaining support window? |
The reason I ended up with 3.8 is that the latest version of Pillow requires that version at least, and upgrading in small steps to the common denominator seemed easier. But I agree having a newer version would be better, which version would you suggest? |
Well, considering the fact that Python makes no forward or backwards compatibility guarantees, I don't really see any good rationale to make a choice based on, besides asking ourselves "How soon do we want to do this again?" We can try to look at what the newest releases of our dependencies should support and use that. However this assumes that we will be updating all of our dependencies. Most of our dependencies are classified as "Python 3.11" (or newer) on PyPi, but not all. Namely:
So we may consider 3.9 as a minimum target, where all our dependencies should "just work" (assuming that they haven't had any breaking changes). So i see three possible routes:
With that said, if our goal is to keep Stregsystemet up to date with security support, then the greater issue is that we are using Django 2.2 which went EOL Apr. 1 2022 (Django support table). A upgrade to a new major version (3.2 LTS or 4.2 LTS) is more or less guaranteed to break plenty of things. |
@jonasKjellerup what about PR: #409 |
It looks like Freezegun supports 3.12 now, and we can probably find another qr-code dependency if we liked |
The current version we're utilizing (3.6) reached EOL two years ago, having it updated along with the dependencies will make sure the Stregsystem will live long and prosper!
The text was updated successfully, but these errors were encountered: