Only Try a Unique Venv If There Is a Conflict
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 38/100
- Loại issue
- Tái cấu trúc
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- python
- Lĩnh vực
- performance, tooling
Hướng nghiên cứu
Theo dõi luồng cài đặt requirements của benchmark và xem xét issue #158 để tìm các cách tiếp cận nhằm theo dõi các phiên bản đã cài đặt. Thay đổi được hoàn tất khi một môi trường ảo duy nhất chỉ được sử dụng cho các xung đột phiên bản gói, còn các lỗi cài đặt khác được báo cáo mà không tự động thử lại.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Currently any failure when installing a benchmark's requirements triggers the creation of a unique venv for that benchmark and a retry of the install. The only failure for which we need to create a unique venv is when there is a conflict with the version of already installed packages. Adjusting the code along those lines would speed things up when their are failures (e.g. wheel cannot build) and produce less noise.
Possible solutions:
- parse the text of the first install attempt to see if it a conflict
- this is fragile, as well as requiring that we "tee" the output of the "pip install" command
- instead of trying the common venv first, track the installed versions and use the common venv only if the benchmark's requirements are compatible
- #158 identifies several approaches to tracking installed versions
- this means we need to add some logic for checking requirements compatibility, though there is probably a good enough library out there (maybe in the stdlib)
Also see https://github.com/python/pyperformance/issues/144#issuecomment-1075822776.
- Ngôn ngữ chính
- Python
- Star
- 1k
- Fork
- 203
- Merge trung bình
- 1 giờ 20 phút
- Pull request đã merge (30 ngày)
- 2
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
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.
Issue khác của python/pyperformance
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
python/pyperformance#346 · 3 bình luận ·
-
python/pyperformance#474 · 4 reaction · 1 người được giao ·
-
Enable decimal benchmarks Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 25/100
python/pyperformance#473 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
python/pyperformance#464 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
python/pyperformance#460 · 2 bình luận · 1 reaction ·
Tất cả issue của python/pyperformance
Issue tương tự
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 90/100
learningequality/ricecooker#747 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
BSData/horus-heresy-3rd-edition#3171 ·
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
run-llama/llama_index#23199 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
KhronosGroup/glTF-Blender-IO#2769 ·