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

fix: stricter input parsing and more lenient parsing of run exports from other packages #1271

Merged
merged 8 commits into from
Dec 17, 2024

Conversation

wolfv
Copy link
Member

@wolfv wolfv commented Dec 17, 2024

We currently parse python 3 as python ==3 which is a deviation from conda-build (which has some complicated logic to add stars sometimes).

With this PR we simplify the logic and ask the user to provide operators, such as >=3, 3.*, ==3 etc.

At the same time we were parsing run exports from other packages in "strict" mode. This did break for some packages (such as libabseil which has a run export in the form of libabseil =*=*cpp17 that doesn't parse in strict mode).

@wolfv wolfv changed the title Strict parsing fix: stricter input parsing and more lenient parsing of run exports from other packages Dec 17, 2024
@wolfv wolfv merged commit 8a3484b into prefix-dev:main Dec 17, 2024
20 checks passed
@baszalmstra
Copy link
Contributor

Can you also make a Pr in rattler? Because now the behavior in rattler-build deviates from rattler itself.

@wolfv
Copy link
Member Author

wolfv commented Dec 17, 2024

Already done!

@wolfv wolfv deleted the lenient-parsing branch December 17, 2024 20:11
@baszalmstra
Copy link
Contributor

Jep just noticed conda/rattler#989 Thanks!

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