-
Notifications
You must be signed in to change notification settings - Fork 39
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
Upgrade to Python 3 and Django 3.2 #148
Comments
bmispelon
changed the title
Upgrade to latest Python (3.12) and Django (5.0)
Upgrade to Python 3 and Django 3.2
Feb 6, 2024
I've just deployed an update of both code.djangoproject.com and djangoproject.com and both now run Django 4.2 and Python 3.8. I think this issue can be considered fixed, we can open another one if needed when we upgrade Django/Python next. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The lack of Python3 support in Trac has held us back from using a recent Python for a while now (and as a consequence we're also running an ancient version of Django).
Luckily the latest version of Trac (1.6) was released about 4 months ago and finally supports Python 3 so in theory nothing stops us from doing some fun upgrade work.
I've researched a bit the various version compatibilities between Trac, Python and Django (using the classifiers on pypi) and came up with the following upgrade path (for reference, we're currently running version 1.2 of Trac, 2.7 of Python and 1.11 of Django):
EDIT Feb 6th: I've modified the original plan in light of the fact that djangoproject.com currently runs Django 3.2. Any further upgrades should probably target both sites in parallel (since they share the
auth_user
database).I've created this issue to track the work, as I expect this to take a while (and some of these steps might require several PRs).
Depending on the availability of others (fellows for review, ops team for deploy, ...) I'd like to suggest a weekly cadence where we take on one step in this list every week. That's a completely arbitrary number and I'm open to other suggestions of course.
I'm personally ready to commit a minimum of 4h per week in the upcoming 3 months to write the upgrade PR, test them locally, and propose fixes for any breakage/regressions that are likely to arise from such a major upgrade work (but hopefully there won't be too many 🤞🏻 )
What do you think of this plan?
The text was updated successfully, but these errors were encountered: