Skip to content

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

@ryanking13

Description

@ryanking13

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions