-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Upgrade Python to 3.13 #2234
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: main
Are you sure you want to change the base?
Upgrade Python to 3.13 #2234
Conversation
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-m totally in favour of this PR. But are we sure all requirements work well with Python 3.13_
@pauloxnet Thanks for the exteremely quick response 😄 I was waiting to the see the CI results but I guess one potential issue would be: #2105 That PR needs a rebase but I don't have the permission to do that. |
@bmispelon Will have to confirm, but from my memory, the reason we're not using 3.13 is that Trac doesn't work on that version since it used some of the standard library removals, and Trac and the Website run on the same python binary right now. Unless that has changed at the operations level, I don't think we can merge this. Edit: I can confirm from an old forum message of mine the trac issue
|
You are right, but after that discussion, we also agreed that it's not that important and we can proceed with the update. I don't remember the exact thread where it happened so I can't share the link, sorry. In any case, I'm okay with @bmispelon 's decision. |
I remember writing a more detailed explanation somewhere, but I can't find it at the moment 🤷🏻 I think it's safe for the site and Trac to run separate Python versions. It's more important that they run the same Django version (because they share a database, and technically Django doesn't support running two different versions talking to the same db), but even that is not a hard requirement. |
Sounds like Trac could use some attention as well then to keep it up-to-date with the latest Python - is there a tracking issue for that? |
The last time I checked, it seemed like Trac was in a maintenance-only mode, and we were already discussing the move of issues to GitHub. I tried to find the old discussions and found these:
It seems the Trac issue @pauloxnet commented on had no updates for the last 11 months and Trac's release calendar has a delay of 21 months: https://trac.edgewall.org/milestone/1.6.1 The Github repo seems like it was getting new commits until 6 months ago. All in all, I think it's hard to say Trac is in active development, and I don't expect to get any new Python version support in the foreseeable future. |
Since Trac has the history of the Django project we can think to contribute to it to let it survive, at least the Python version upgrade. We can also ask the Django community to help the project if we can't. The goal here is to upgrade Trackat least to the Python 3.12 to be able to upgrade to Django 6.x |
I mostly agree with this, but do we have a long-term plan here? What will happen next year? I feel like the more we postpone ripping off the band-aid, the worse the situation gets. |
About
|
Coming from #1890 (comment)
cc @bmispelon