-
Notifications
You must be signed in to change notification settings - Fork 415
Drop Python 3.9, bump tests/builds to Python 3.10 #19099
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
Conversation
docs/upgrade.md
Outdated
| # Upgrading to v1.142.0 | ||
| ## Minimum supported Python version | ||
| The minimum supported Python version has been increased from v3.9 to v3.10. | ||
| You will need Python 3.10+ to run Synapse v1.142.0 (due out Nov 11th, 2025). |
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 goes without saying, but this section may need updating to specify the actual version this PR lands in.
Do this to prevent the trial-olddeps test workflow from installing a version of jaeger-client that pulls in an old version of a dependency (tornado) that is incompatible with Python 3.10.
9d3cdc6 to
ed0cb3e
Compare
e6fd7fd to
6b35262
Compare
| DISTS = ( | ||
| "debian:bullseye", # (EOL ~2024-07) (our EOL forced by Python 3.9 is 2025-10-05) | ||
| "debian:bookworm", # (EOL 2026-06) (our EOL forced by Python 3.11 is 2027-10-24) | ||
| "debian:sid", # (rolling distro, no EOL) | ||
| "ubuntu:jammy", # 22.04 LTS (EOL 2027-04) (our EOL forced by Python 3.10 is 2026-10-04) | ||
| "ubuntu:noble", # 24.04 LTS (EOL 2029-06) | ||
| "ubuntu:plucky", # 25.04 (EOL 2026-01) | ||
| "debian:trixie", # (EOL not specified yet) | ||
| ) |
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.
Not necessarily something for this PR specifically but should this include forky (14) ?
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 suppose that could be done when Synapse is verified to work on forky. I'm unaware of when/if that was done.
Python 3.9 EOL is on 2025-10-31
Dev notes
Previous times we had to drop Python versions:
Python 3.9
Python 3.8:
Python 3.7:
Pull Request Checklist
EventStoretoEventWorkerStore.".code blocks.