Download dependencies automatically

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
python, rust, wasm

調査の方向性

componentize-py の依存関係処理のエントリーポイントから始め、アプリケーションの pyproject.toml、リンクされている guest-tooling ミーティングの議論、および micropip の動作を確認します。初期スコープでは wasi-sdk-22、cp311、一時ディレクトリとともに pip を使用することが言及されています。完了条件には、推移的な Pure-Python 依存関係と、ネイティブ拡張パッケージ用の代替ソースが含まれますが、後の自己完結型モードは引き続きより大きな目標です。

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

説明

Per yesterday's Python guest tooling meeting, we'd like componentize-py to download any dependencies found in the application's pyproject.toml (including transitive dependencies), placing them in a temporary directory for use while building the component.

Similar to micropip, componentize-py should grab any pure Python packages from PyPI, only looking to an alternative repo for packages with native extensions. We (i.e. the Bytecode Alliance) will need to maintain this repo and populate it with WASI builds of popular projects until WASI wheels are standardized and published upstream to PyPI.

To start with, componentize-py could shell out to e.g. pip --install --platform wasi-sdk-22 --abi cp311 --root <tmpdir>, but eventually we'd like to make it fully self-contained (i.e. not require Python or pip to be installed).

主要言語
Rust
スター
284
フォーク
56
平均マージ
2日 4時間
マージ済み PR(30日)
3

環境構築

はじめの一歩

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

bytecodealliance/componentize-py のほかの issue

bytecodealliance/componentize-py の issue をすべて見る

似ている issue

Rust の issue をもっと見る

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

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