matrix-org / matrix-org/python-signedjson
pip install of synapse with a custom package mirror fails if setuptools_scm not already installed
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Python
- Sterne
- 13
- Forks
- 10
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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.
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne mit setup.py und der Abhängigkeitserklärung für setuptools_scm und reproduziere anschließend die Installation in einer leeren virtuellen Umgebung mit pip unter Verwendung des im Issue gezeigten benutzerdefinierten -i-Mirrors. Erledigt ist die Aufgabe, wenn für die Installation von synapse und seinen Abhängigkeiten keine separate Installation von setuptools_scm aus dem Mirror erforderlich ist.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- python
- Bereich
- build-system
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100