canonical / canonical/layer-basic

Add mechanism for enforcing ordering of wheelhouse install

Đang mở
#55 4 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
10
Fork
42
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

The dependencies in `wheelhouse/` are installed in an "undefined" order (it comes from a glob, so I'm pretty sure it's alphabetical). Most of the time, pip will resolve the dependencies properly so that's fine. However, it occasionally fails for things that are not strictly dependencies but still need to be installed in a particular order.

My current thought is to have a `wheelhouse_order` layer option that is a list of packages from the wheelhouse (just the package names, not full requirement specifiers nor file names). These will be installed from the wheelhouse, in order. Once they are all processed, any remaining items in the wheelhouse are installed in the existing order. That way, only "need to be installed first" items must be listed, and multiple items can be given a defined order.

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

Hướng nghiên cứu

Start by locating the layer logic that installs dependencies from `wheelhouse/` and checking how layer options are defined and read. Trace the existing installation order and its tests, if present. Done means a `wheelhouse_order` option can specify package names in order while remaining wheelhouse items retain the existing installation behavior.

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
Tính năng
Độ 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
38/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.