RFC: Bump minimum supported Python version across AboutCode projects?
@DPR23 がすでに取り組んでいます。
2025年11月4日 から。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- 機能追加
- 明瞭さ
- 説明が足りない
- 活発さ
- 静か
- 技術スタック
- debian, fedora, linux, python, ubuntu
- 領域
- ci-cd, documentation, release
調査の方向性
これは、範囲を定めたコード変更ではなく、RFCです。まず、issue にリンクされている Python EOL のタイムラインと、影響を受けるプロジェクトの README、changelog、pyproject/setup ファイル、CI バージョンマトリクスを読みます。完了とみなすには、ドキュメント、パッケージング、または CI を更新する前に、maintainer が承認したサポートポリシーが必要です。
索引モデルが issue の本文から書いたものです。
説明
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
- 主要言語
- Batchfile
- スター
- 310
- フォーク
- 255
- 平均マージ
- 10時間 5分
- マージ済み PR(30日)
- 1
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
aboutcode-org/aboutcode のほかの issue
-
Cross-reference OpenChain CRA Compliance Checklist再び着手できるかも @PaulitePavitra が 22 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
aboutcode-org/aboutcode#309 · コメント 6 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 30/100
aboutcode-org/aboutcode#314 · コメント 4 件 ·
-
Project: 5C: Continuous Code Compliance Control Center再び着手できるかも @nt5504289-oss が 35 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
aboutcode-org/aboutcode#291 · コメント 3 件 ·
-
Remove Projects section in README対応中かも @mjherzog が 246 日前に担当しました。 オープンdocumentation
aboutcode-org/aboutcode#277 · コメント 6 件 · 担当者 1 名 ·
-
RFC: Create AI policy再び着手できるかも @tdruez が 254 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンpolicy
aboutcode-org/aboutcode#265 · コメント 10 件 · 担当者 1 名 ·
aboutcode-org/aboutcode の issue をすべて見る
似ている issue
-
Pin the Rust versionオープンgood first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
CakeRepository/agentshangout#3 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
GoogleCloudPlatform/gce-rescue#218 ·
メンテナーはふだん 2 日以内に返信
-
area:docs Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 1 日以内に返信
-
enhancement good-to-code
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
alvinunreal/oh-my-opencode-slim#1753 ·
メンテナーはふだん 1 日以内に返信