conda / constructor

tool for creating installers from conda packages
https://conda.github.io/constructor/
Other
452 stars 166 forks source link

Add support for `virtual_specs` checks before installation #809

Open jaimergp opened 3 weeks ago

jaimergp commented 3 weeks ago

Description

Adds a new key virtual_specs.

This key allows installers to run some solver checks before the installation proceeds. Meant to be used with minimum required versions for virtual packages like __osx or __glibc. We need it because the solver only runs at installer build time, not on the target machine.

We perform an offline dry-run just to check that the solver passes there. On PKG installers, we fast track the __osx checks so the native checks run as soon as possible.

Checklist - did you ...