matrix-org / matrix-org/python-signedjson

pip install of synapse with a custom package mirror fails if setuptools_scm not already installed

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

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

主要言語
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.

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

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

はじめの一歩

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

調査の方向性

まず setup.py と setuptools_scm の依存関係宣言を確認し、次に issue に示されているカスタム -i ミラーを使って、空の virtualenv へのインストールを pip で再現します。synapse とその依存関係のインストールに、ミラーから setuptools_scm を別途インストールする必要がなくなれば完了です。

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

評価

技術スタック
python
領域
build-system
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

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

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