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

pixi list --locked updates the lockfile #1989

Closed
2 tasks done
benmoss opened this issue Sep 5, 2024 · 0 comments · Fixed by #2078
Closed
2 tasks done

pixi list --locked updates the lockfile #1989

benmoss opened this issue Sep 5, 2024 · 0 comments · Fixed by #2078
Assignees
Labels
🐞 bug Something isn't working 👩‍💻 cli Issue related to CLI

Comments

@benmoss
Copy link

benmoss commented Sep 5, 2024

Checks

  • I have checked that this issue has not already been reported.

  • I have confirmed this bug exists on the latest version of pixi, using pixi --version.

Reproducible example

pixi init
pixi add --no-lockfile-update crane
pixi list --locked

Issue description

From the description of --locked I would expect it to exit non-zero and not update the lockfile, but instead it updates the lockfile and reports the resolved crane version.

--locked
Check if lockfile is up-to-date before installing the environment, aborts when lockfile isn't up-to-date with the manifest file

Expected behavior

Something like

pixi list --locked
× lock-file not up-to-date with the project
@benmoss benmoss added the 🐞 bug Something isn't working label Sep 5, 2024
@ruben-arts ruben-arts added the 👩‍💻 cli Issue related to CLI label Sep 18, 2024
@ruben-arts ruben-arts self-assigned this Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working 👩‍💻 cli Issue related to CLI
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants