-
Notifications
You must be signed in to change notification settings - Fork 209
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
pip compile equivalent / trigger solve #1131
Comments
Yeah this is a more often requested feature. I though I would be able to link you to that issue but I guess it is lost in conversations. |
Having a |
For documentation purposes, there is an requirement for the For example this would still need to install python to only lock: [project]
name = "test"
channels = ["conda-forge"]
platforms = ["linux-64"]
[dependencies]
python = ">=3.10"
[pypi-dependencies]
solara = "==1.30.1" Until there is a solution to this issue #1130, specifically the |
I have a similar use case, and my workaround is running The main thing that can be confusing from a UX perspective is that if you haven't installed anything and no lockfile update is needed, then both of those commands succeed without printing anything to console. |
Problem description
I'd like to use pixi to give me just the lock file, not install packages, similar to how I can use
pip-compile
oruv pip compile
.However, pixi seems to generate the lock file only after a
pixi add
command. However, if I change the manifest file (e.g. generate), I cannot do apixi compile/solve/lock
orpixi install --dry-run
to obtain a lockfile.Maybe I misunderstood how pixi works, but I expect 3 phases:
pixi seems to run solve and install by default, which is great, and I can skip the install using
--no-install
, which is also great.However, I cannot trigger the solve phase independently.
The text was updated successfully, but these errors were encountered: