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

Upgrades commonly used selectors #80

Merged
merged 5 commits into from
Jul 16, 2024

Conversation

schuylermartin45
Copy link
Collaborator

This discovery came out of developing #77 and some discussions held on the public Conda Build Tools Element channel.

The commonly used py<37 selector expression is no longer supported in the new recipe format (see conda/ceps#71 and https://prefix-dev.github.io/rattler-build/latest/selectors/#selector-evaluation).

These selector aliases/expressions have been superseded by the new match() function in the V1 recipe format.

This is the first issue we have found that occurs in when performing a full build with rattler-build BUT does not appear in a dry-run build. There are likely many more such issues to be discovered.

This PR also stores /build/skip expressions as a single value instead of a list. I believe this was a temporary workaround to a schema issue that has since been resolved in rattler-build.

@schuylermartin45 schuylermartin45 requested a review from a team as a code owner July 16, 2024 15:53
@wolfv
Copy link

wolfv commented Jul 16, 2024

Looks great!

@schuylermartin45 schuylermartin45 merged commit 1fd4f9d into main Jul 16, 2024
11 checks passed
@schuylermartin45 schuylermartin45 deleted the smartin_selector_match_upgrade branch July 16, 2024 19:02
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.

2 participants