matrix-org / matrix-org/python-signedjson
pip install of synapse with a custom package mirror fails if setuptools_scm not already installed
まだ誰も着手していません。
- 主要言語
- Python
- スター
- 13
- フォーク
- 10
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
when attempting to run:
venv/bin/pip install -i https://python-pypi-mirror/ synapse
on a blank virtualenv, we attempt to install the dependencies via the python-pypi-mirror, including signedjson
However, the change to setup.py to require setuptools_scm causes a failure as it attempts to download setuptools_scm directly from pypi rather than via the mirror.
This can be worked around by pip install -i https://python-pypi-mirror/ setuptools_scm in the virtualenv before installing synapse, but it would be preferred if when pip installs this as a dependency, it inherited the custom package url.
This is only a problem on new installations - existing installations will likely be fine as they already have this installed.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず setup.py と setuptools_scm の依存関係宣言を確認し、次に issue に示されているカスタム -i ミラーを使って、空の virtualenv へのインストールを pip で再現します。synapse とその依存関係のインストールに、ミラーから setuptools_scm を別途インストールする必要がなくなれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- build-system
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100