RFC: Bump minimum supported Python version across AboutCode projects?
@DPR23 is already working on this.
Since Nov 4, 2025.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Quiet
- Tech stack
- debian, fedora, linux, python, ubuntu
- Domain
- ci-cd, documentation, release
Research direction
This is an RFC rather than a scoped code change. Start by reading the Python EOL timeline linked in the issue and the affected projects' READMEs, changelogs, pyproject/setup files, and CI version matrices. Done would require a maintainer-approved support policy before any documentation, packaging, or CI updates are made.
Written by the indexing model from the issue text.
Description
It would be good to have a simple plan to deprecate old Python versions and support new Python versions that would:
- track the EOL timeline of Python proper https://devguide.python.org/versions/
- but also track support of Python version in mainline Linux distros. See below.
- and also consider the context of a given project (library vs. application). Libraries may need a wider support of versions, while apps can have narrower ranges.
- and also consider which versions in which packaging are getting major bug and security fixes.
What this mean is that the Python.org EOL'ed versions may still need to supported.
Alternatively if we start promoting only containerized deployments, we could more readily deprecated and drop older Python versions, including non EOL'ed versions, but to the detriment of using the code a libraries....
We should also consider the many small things related to change of supported versions:
- CHANGELOG entries, READMEs and documentation updates
- pyproject/setup changes to add version constraints?
- Ci test suites across versions
One approach would be to have two policies:
- for libraries, we could support all Python versions that are receiving security and bug fixes, as of today, 3.9 to 3.12
- for apps, we could support only container deployments with a more restricted number of more recent versions, like the latest stable only 3.12
- for new versions we should define when we adopt them as supported. For instance 3.13 has just been released, and we could state that we work to support a new major release (like 3.13) within 12 months of its publication. Or we could also support re-releases, but frankly this is not something I look forward to.
As for supported versions, here is the https://devguide.python.org/versions/ EOL timeline:
And here is the distro support for various versions:
- On Debian:
Package python3
buster (oldoldstable) (python): interactive high-level object-oriented language (default python3 version) 3.7.3-1: amd64 arm64 armhf i386 bullseye (oldstable) (python): interactive high-level object-oriented language (default python3 version) 3.9.2-3: amd64 arm64 armel armhf i386 mips64el mipsel ppc64el s390x bookworm (stable) (python): interactive high-level object-oriented language (default python3 version) 3.11.2-1+b1: amd64 arm64 armel armhf i386 mips64el mipsel ppc64el s390x trixie (testing) (python): interactive high-level object-oriented language (default python3 version) 3.12.6-1: amd64 arm64 armel armhf i386 mips64el ppc64el riscv64 s390x
- On Ubuntu:
Package python3
focal (20.04LTS) (python): interactive high-level object-oriented language (default python3 version) 3.8.2-0ubuntu2: amd64 arm64 armhf i386 ppc64el riscv64 s390x jammy (22.04LTS) (python): interactive high-level object-oriented language (default python3 version) 3.10.6-1~22.04 [security]: amd64 i386 3.10.4-0ubuntu2 [ports]: arm64 armhf ppc64el riscv64 s390x jammy-updates (python): interactive high-level object-oriented language (default python3 version) 3.10.6-1~22.04.1: amd64 arm64 armhf i386 ppc64el riscv64 s390x noble (24.04LTS) (python): interactive high-level object-oriented language (default python3 version) 3.12.3-0ubuntu1: amd64 arm64 armhf i386 ppc64el riscv64 s390x
- On Fedora
Fedora 34 3.9.2-1.fc34
Fedora 36 3.10.11-1.fc36
Fedora 38 3.11.9-2.fc38
Fedora 40 3.12.7-1.fc40
Fedora 41 3.13.0-1.fc41
- Dominant language
- Batchfile
- Stars
- 316
- Forks
- 257
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from aboutcode-org/aboutcode
-
Cross-reference OpenChain CRA Compliance ChecklistMay be free again @PaulitePavitra claimed this 41 days ago, and no pull request is open. Open
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
aboutcode-org/aboutcode#309 · 6 comments ·
-
scancode-next: Plan federated software supply chain data infrastructurePossibly taken @ziadhany claimed this 6 days ago. Openmaintainers-only
Difficulty 4/5 3-5 days Newbie friendliness 45/100
aboutcode-org/aboutcode#325 · 2 comments · 2 assignees ·
-
scancode-next: Improve documentation, review documentation issues and pull requestsPossibly taken @hesa claimed this 8 days ago. Openmaintainers-only
aboutcode-org/aboutcode#324 · 1 assignee ·
-
scancode-next: Gather requirements through interviews with key usersPossibly taken @hesa claimed this 8 days ago. Openmaintainers-only
Difficulty 5/5 Over a week Newbie friendliness 25/100
aboutcode-org/aboutcode#323 · 1 assignee ·
-
scancode-next: Prepare ScanCode and AboutCode workshopsPossibly taken @adaaaam claimed this 6 days ago. Openmaintainers-only
aboutcode-org/aboutcode#322 · 1 assignee ·
All issues in aboutcode-org/aboutcode
Similar issues
-
Internal ErrorOpenbug
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
frappe/frappe_docker#2071 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
windows-artifacts: the win-arm64 job uses a Visual Studio generator missing from windows-11-armOpen
Difficulty 1/5 Under an hour Newbie friendliness 86/100
-
Own-agent checks: reject the Actions bot id in admit.mjs and test the source label in pr-verifyOpen
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
melodic-software/claude-code-plugins#17374 · 2 comments ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 67/100