actions / actions/setup-python

Add pre-compiled Python binaries for Debian in versions manifest

Offen
#1,294 3 Kommentare 2 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

feature request
Vorherrschende Sprache
TypeScript
Sterne
2.2k
Forks
739
Ø Merge
6 T. 18 Std.
Gemergte PRs (30 T.)
1

Beschreibung

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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Beginne mit den Ubuntu-Einträgen in versions-manifest.json und der Konfiguration der Build-Matrix für vorhandene Binärziele. Verfolge, wie actions/setup-python /etc/os-release den Manifest-Einträgen zuordnet, und überprüfe anschließend die Abdeckung von Debian 12 und 13 für x64 und arm64 sowie eine erfolgreiche Versionsauflösung.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
github-actions, python
Bereich
build-system, ci-cd
Issue-Typ
Feature
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Ruhig
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
55/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.