python-hyper / python-hyper/brotlicffi
Testing of sdist fails
オープン
まだ誰も着手していません。
- 主要言語
- Python
- スター
- 154
- フォーク
- 34
- 平均マージ
- 1日 1時間
- マージ済み PR(30日)
- 3
説明
When I test sdist from PyPI it always fails:
ImportError while loading conftest '$(BUILDDIR)/test/conftest.py'.
test/conftest.py:11: in <module>
os.path.join(TEST_DATA_DIR, p) for p in os.listdir(TEST_DATA_DIR)
E FileNotFoundError: [Errno 2] No such file or directory: '$(BUILDDIR)/libbrotli/tests/testdata'
Apparently, the required directory is not in the sdist. Please add it there. Please also consider to add tox.ini to sdist.
Thank you.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
test/conftest.py から始めて、ソースディストリビューションがどのように組み立てられているかを調べます。libbrotli/tests/testdata ディレクトリと tox.ini が PyPI sdist に含まれていることを確認し、その後 sdist テストを実行して、conftest.py が FileNotFoundError なしで読み込まれることを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- build-system
- issue の種類
- バグ
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 52/100