Skip to content

Upgrades commonly used selectors - #80

Merged
schuylermartin45 merged 5 commits into
mainfrom
smartin_selector_match_upgrade
Jul 16, 2024
Merged

Upgrades commonly used selectors#80
schuylermartin45 merged 5 commits into
mainfrom
smartin_selector_match_upgrade

Conversation

@schuylermartin45

Copy link
Copy Markdown
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

wolfv commented Jul 16, 2024

Copy link
Copy Markdown

Looks great!

@schuylermartin45
schuylermartin45 merged commit 1fd4f9d into main Jul 16, 2024
@schuylermartin45
schuylermartin45 deleted the smartin_selector_match_upgrade branch July 16, 2024 19:02
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Jul 17, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants