actions / actions/setup-python
Add pre-compiled Python binaries for Debian in versions manifest
还没有人认领这个 Issue。
- 主要语言
- TypeScript
- 星标
- 2.2k
- 派生
- 739
- 平均合并
- 6 天 18 小时
- 30 天内合并 PR
- 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.
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 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