canonical / canonical/layer-basic

Add mechanism for enforcing ordering of wheelhouse install

Offen
#55 4 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
10
Forks
42
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.