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 should print a warning or fail when lockfile is not up to date #774

Closed
pavelzw opened this issue Feb 4, 2024 · 3 comments · Fixed by #775
Closed

pixi list should print a warning or fail when lockfile is not up to date #774

pavelzw opened this issue Feb 4, 2024 · 3 comments · Fixed by #775

Comments

@pavelzw
Copy link
Contributor

pavelzw commented Feb 4, 2024

After manually tinkering in pixi.toml, pixi list doesn't reflect these changes unless I run pixi install. Maybe a warning like Warning: your lockfile is not up to date. Please run 'pixi install' to update your lockfile could be nice.

@ruben-arts
Copy link
Contributor

Should it even self install or just throw a warning?

@pavelzw
Copy link
Contributor Author

pavelzw commented Feb 4, 2024

I guess we could also do self-install on pixi list. I don't have strong opinions on that but maybe it's better since we do it like this for other cases as well 🤷🏻

@baszalmstra
Copy link
Contributor

baszalmstra commented Feb 4, 2024

I wouldnt install as it provides no benefit right? Just overhead? We could add the same --locked and --frozen though!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants