This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Make it more obvious which Python version runs on a given Linux distribution #15909
Merged
MadLittleMods
merged 4 commits into
develop
from
madlittlemods/more-obvious-python-versions-on-distributions
Jul 11, 2023
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
e62326e
Make it more obvious which Python version runs on a given Linux distr…
MadLittleMods d128c7f
Add better instructions
MadLittleMods 9b78d66
Add changelog
MadLittleMods 8141ca1
Merge branch 'develop' into madlittlemods/more-obvious-python-version…
MadLittleMods File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Document which Python version runs on a given Linux distribution so we can more easily clean up later. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,14 +22,18 @@ | |
|
||
# These are expanded inside the dockerfile to be a fully qualified image name. | ||
# e.g. docker.io/library/debian:bullseye | ||
# | ||
# If an EOL is forced by a Python version and we're dropping support for it, make sure | ||
# to remove references to the distibution across Synapse (search for "bullseye" for | ||
# example) | ||
DISTS = ( | ||
"debian:bullseye", | ||
"debian:bookworm", | ||
"debian:sid", | ||
"ubuntu:focal", # 20.04 LTS (our EOL forced by Py38 on 2024-10-14) | ||
"ubuntu:jammy", # 22.04 LTS (EOL 2027-04) | ||
"ubuntu:kinetic", # 22.10 (EOL 2023-07-20) | ||
"ubuntu:lunar", # 23.04 (EOL 2024-01) | ||
"debian:bullseye", # (EOL ~2024-07) (our EOL forced by Python 3.9 is 2025-10-05) | ||
"debian:bookworm", # (EOL not specified yet) (our EOL forced by Python 3.11 is 2027-10-24) | ||
"debian:sid", # (EOL not specified yet) (our EOL forced by Python 3.11 is 2027-10-24) | ||
"ubuntu:focal", # 20.04 LTS (EOL 2025-04) (our EOL forced by Python 3.8 is 2024-10-14) | ||
"ubuntu:jammy", # 22.04 LTS (EOL 2027-04) (our EOL forced by Python 3.10 is 2026-10-04) | ||
"ubuntu:kinetic", # 22.10 (EOL 2023-07-20) (our EOL forced by Python 3.10 is 2026-10-04) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Reference: https://packages.ubuntu.com/kinetic/python3
|
||
"ubuntu:lunar", # 23.04 (EOL 2024-01) (our EOL forced by Python 3.11 is 2027-10-24) | ||
) | ||
|
||
DESC = """\ | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Reference: https://packages.debian.org/bookworm/python3