mamba-org / rattler

Rust crates to work with the Conda ecosystem.
BSD 3-Clause "New" or "Revised" License
225 stars 42 forks source link

Add extra solve options #586

Open wolfv opened 3 months ago

wolfv commented 3 months ago

uv has some nice solver options:

baszalmstra commented 1 month ago

exclude_newer has been implemented in #654

baszalmstra commented 1 month ago

@wolfv What do you think should be the input for --override? What would it look like in code?

wolfv commented 1 month ago

I am thinking something like HashMap<MatchSpec, MatchSpec>.

So that you can do something like:

jupyterlab 3.3.*: python ==3.10

And this would replace all dependencies with name python of any jupyterlab 3.3.* with the specified one.

It's relatively broad but I think people should be able to make it specific enough for their use cases.