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

add build argument for pin expressions #1086

Merged
merged 3 commits into from
Oct 7, 2024
Merged

Conversation

wolfv
Copy link
Member

@wolfv wolfv commented Oct 7, 2024

This adds the ability to define build matchers for pin expressions.

For example:

- ${{ pin_subpackage("foo", lower_bound="x.x", build="cuda*") }}

Would apply a pin that will look something like foo >=1.2,<2.0a0 cuda*.

The build argument does not support modifying the actual build string.

The arguments exact=true and build="..." are mutually exclusive.

Fixes #1012

@wolfv wolfv enabled auto-merge (squash) October 7, 2024 11:31
@wolfv wolfv merged commit 369ef81 into prefix-dev:main Oct 7, 2024
19 checks passed
wolfv added a commit to wolfv/rattler-build that referenced this pull request Nov 6, 2024
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.

feat: Implement additional build="feat_*" argument for pin functions
1 participant