canonical / canonical/layer-basic

Add mechanism for enforcing ordering of wheelhouse install

未关闭
#55 4 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
10
派生
42
PR 合并指标
30 天内没有已合并 PR

描述

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.

贡献指南

这个仓库没有索引到贡献指南

调研方向

首先定位从 `wheelhouse/` 安装依赖项的层逻辑,并检查层选项是如何定义和读取的。跟踪现有的安装顺序及其测试(如果有)。完成标准是:`wheelhouse_order` 选项可以按顺序指定包名称,同时其余 wheelhouse 项保留现有的安装行为。

由索引模型根据 Issue 内容生成。

评估

技术栈
python
领域
build-system
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
38/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。