Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add override for virtual packages #1063

Closed
wants to merge 1 commit into from

Conversation

wolfv
Copy link
Member

@wolfv wolfv commented Sep 20, 2024

This adds the ability to override detected virtual packages with ones defined on the CLI for the host environment during build (and for the run environment during test).

This should make it easier for cross-platform building & testing, as well as for "cross-platform" solvability checks.

TODO:

  • decide if --virtual-package-for-host __cuda=12.0 is the best way to do this
  • wire up the virtual packages for test time

Long-term we would like to figure out a more robust solution for virtual packages and cross-platform building. Ideally it would look a bit more like what we have in pixi (system-requirements).

It would make sense for the recipes themselves to decide on minimum system requirements. For example, a certain recipe might only build with macos: 12.0. That should be expressable in the recipe itself.

Additionally, conda-forge should be able to set global minimum system requirements so that we know what default values to pick for every system. This should go in the next generation "variant configuration" file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant