Support vendoring this test suite by removing need for `array-api` submodule
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
調査の方向性
まずテストスイートのセットアップと generate_stubs.py を読み、次に signatures フォルダー/パッケージが現在 array-api サブモジュールからどのように取得されているかを調べます。Issue で提案されている 2 つのアプローチを比較します。git サブモジュールを必要とせずに、ベンダー化されたスイートのコピーが仕様を含めるか見つけられ、テストが引き続き機能すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
In #104 we introduce a git submodule of the array-api repo, which going forward is required for the test suite to function (e.g. special case tests). This is not ideal for some vendoring use cases where array libraries such as NumPy might like to ship the test suite in their own repo, and a git submodule would be a big nuisance to that end.
There are two current options I see:
- Hard code the
signaturesfiles ala the ones we generated withgenerate_stubs.py. A pre-commit hook could alleviate the pain somewhat of having an out-of-sync repo, which was a common problem before. - Allow the user to specify somewhere (variable? env? package?) where the
signaturesfolder/package is, so someone vendoring can vendor the spec too and use that.
- 主要言語
- Python
- スター
- 74
- フォーク
- 54
- 平均マージ
- 4時間 35分
- マージ済み PR(30日)
- 4
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
data-apis/array-api-tests のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 87/100
data-apis/array-api-tests#465 · コメント 1 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
data-apis/array-api-tests#460 · コメント 1 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
data-apis/array-api-tests#455 · コメント 2 件 ·
-
tracking
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
data-apis/array-api-tests#381 · コメント 9 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 38/100
data-apis/array-api-tests#379 · コメント 10 件 ·
data-apis/array-api-tests の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
xinnan-tech/xiaozhi-fde-talk#263 ·
-
rules
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
huggingface/Repo2RLEnv#163 · コメント 1 件 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 95/100
huggingface/sentence-transformers#4074 ·
-
comp/dashboard invalid P3
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
NousResearch/hermes-agent#121143 ·