prefix-dev / rattler-build

rattler-build is a universal package builder for Windows, macOS and Linux
https://prefix-dev.github.io/rattler-build
BSD 3-Clause "New" or "Revised" License
193 stars 38 forks source link

Implement `down_prioritize_variant` in `build.variant` section #522

Closed wolfv closed 7 months ago

wolfv commented 8 months ago

Conda-build uses a "hack" to down-prioritize variants of a package. This hack works by using the track_features option. Adding any track_features makes the conda, mamba and pixi solvers down prioritize that variant.

We have renamed this option, but ultimately it needs to come up with a (random) track_feature per negative point in the down-priorization. This feature only affects the metadata that is written in the recipe.

    # used to prefer this variant less
    # note: was `track_features`
    down_prioritize_variant: integer (negative, defaults to 0)
wolfv commented 7 months ago

This is implemented :)

pavelzw commented 7 months ago

584