actions / actions/setup-python

provide python without RUNPATH for staticx-support

Offen
#325 6 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:
I want to use this project as GH action to generate a statically linked python binary using staticx.

While implementing the workflow I ran into https://github.com/JonathonReinhart/staticx/issues/188 due to the usage DT_RUNPATH.

It would be nice to have a setup-python version which does not use RUNPATH for use-cases like this.

Justification:
I understand that using RUNPATH simplifies the process of provinding a self-contained and reusable venv.
Unfortunately for running staticx that is bad because the generated binary will check the path defined by RUNPATH on the system running it and not be fully self-contained.

Are you willing to submit a PR?
Yes, but unfortunately I don't know TypeScript and cannot grasp the work required.

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

Es werden keine Dateien oder Tests genannt. Beginne damit, den TypeScript-Aktions-Einstiegspunkt nachzuverfolgen, der Python installiert oder auswählt, und ermittle, wo RUNPATH eingeführt wird. Fertig ist die Aufgabe, wenn ein unterstützter setup-python-Pfad Python ohne RUNPATH bereitstellen kann und das Verhalten für den staticx-Anwendungsfall validiert ist.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

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

Neue Issues direkt in Ihr Postfach

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