matrix-org / matrix-org/python-signedjson
pip install of synapse with a custom package mirror fails if setuptools_scm not already installed
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- Python
- Star
- 13
- Fork
- 10
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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.
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Bắt đầu với setup.py và khai báo dependency cho setuptools_scm, sau đó tái hiện việc cài đặt trong một virtualenv trống bằng pip với mirror tùy chỉnh được nêu trong issue. Hoàn tất khi việc cài đặt synapse và các dependency của nó không yêu cầu cài đặt riêng setuptools_scm từ mirror.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- python
- Lĩnh vực
- build-system
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100