actions / actions/setup-python

Add pre-compiled Python binaries for Debian in versions manifest

オープン
#1,294 コメント 3 件 リアクション 2 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

feature request
主要言語
TypeScript
スター
2.2k
フォーク
739
平均マージ
6日 18時間
マージ済み PR(30日)
1

説明

Description:
Add pre-compiled Python binaries for Debian (12 and 13) to the versions-manifest.json. Currently the manifest only includes Ubuntu (16.04–24.04), causing actions/setup-python to fail on Debian-based self-hosted runners with:

Error: The version '3.x' with architecture 'x64' was not found for Debian 13.

Requested additions:

Distro Version Architectures
Debian 12 (Bookworm) x64, arm64
Debian 13 (Trixie) x64, arm64

Justification:
Debian is one of the most widely deployed Linux distributions for self-hosted CI runners and server infrastructure. Ubuntu itself is derived from Debian and shares the same glibc/libc6 ABI, meaning the same build pipeline used to produce Ubuntu binaries should work for Debian with minimal changes. Without manifest entries for Debian, setup-python performs a platform detection check via /etc/os-release, finds no matching entry, and errors out — even though an Ubuntu 24.04 binary would run correctly on Debian 13. Users are forced to either switch their runner OS to Ubuntu or remove setup-python entirely and rely on the system Python, both of which are unnecessary workarounds given the binary compatibility.

Are you willing to submit a PR?

Yes, open to contributing if the maintainers can provide guidance on the build matrix configuration for Debian targets.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

versions-manifest.json の Ubuntu エントリと、既存のバイナリターゲット向けのビルドマトリックス設定から始めます。actions/setup-python が /etc/os-release をマニフェストエントリにどのように対応付けているかを追跡し、その後、x64 と arm64 における Debian 12 および 13 の対応状況と、バージョン解決が成功することを確認します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
github-actions, python
領域
build-system, ci-cd
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
55/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。