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

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.