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 requirement.constraints key in meta.yaml? #87

Open
ryanking13 opened this issue Jan 16, 2025 · 0 comments
Open

Add requirement.constraints key in meta.yaml? #87

ryanking13 opened this issue Jan 16, 2025 · 0 comments

Comments

@ryanking13
Copy link
Member

For now, we are using a global constraints.txt file for building packages, but as the number of recipes grow, sometimes applying the same constraints to all packages doesn't fit.

For instance, pyodide/pyodide-recipes#64 (comment) had issue with the pined maturin version and the version that the package requires.

So, I think it would be useful to have a key in the meta.yaml that specifies the build constraints for the package:

requirements:
  constraint:
    - maturin < 1.8  

and apply it only for that package.

cc: @chrysn

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

No branches or pull requests

1 participant