actions / actions/setup-python

provide python without RUNPATH for staticx-support

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

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

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

説明

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.

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

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

はじめの一歩

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

調査の方向性

ファイルやテストは指定されていません。まず、Python をインストールまたは選択する TypeScript アクションのエントリポイントを追跡し、RUNPATH がどこで導入されるかを特定します。対応する setup-python パスで RUNPATH なしに Python を提供でき、その動作が staticx のユースケースで検証されれば完了です。

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

評価

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

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

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