Skip to content

Add constraints to limit dependency versions #3278

@pavelzw

Description

@pavelzw

Problem description

It would be cool if we were able to add constraints in pixi.toml as well without needing to install them

[dependencies]
numpy = "*"

[constraints]
abc = "<5"

In this scenario, if abc is added to the env, we get abc<5.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions