canonical / canonical/layer-basic

Add mechanism for enforcing ordering of wheelhouse install

Open
#55 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
10
Forks
42
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Research direction

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.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.