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

Lockfile is never up-to-date in Pixi version 0.39.0 #2621

Closed
2 tasks done
RaphaelMelanconAtBentley opened this issue Dec 2, 2024 · 4 comments
Closed
2 tasks done
Labels
needs-more Needs more information from the reporter

Comments

@RaphaelMelanconAtBentley

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 --version
pixi 0.39.0
$ pixi install
✔ The default environment has been installed.
$ pixi install --locked
  × lock-file not up-to-date with the project

Issue description

Somehow, pixi install thinks the lockfile is outdated, when it isn't on the newest version (0.39.0)
This does not happen in version 0.38.0.

Expected behavior

The lockfile should be up-to-date after running pixi-install.

@baszalmstra
Copy link
Contributor

Hey @RaphaelMelanconAtBentley , would you be able to share the project you are experiencing this with?

@wolfv
Copy link
Member

wolfv commented Dec 2, 2024

I tried on jupyterlab and pypi examples and so far it seems to be fine. Did pixi install touch (update) your lockfile? Maybe it has to do with the version of the lockfile of your project (which would still be a bug!).

@RaphaelMelanconAtBentley
Copy link
Author

Humm, then maybe the sequence to reproduce is more complex...

I was using version 0.38.0 with and existing lockfile.
Then, I updated to 0.39.0, made some changes to my pixi.toml and reinstalled.
That's when the issue began.

I'll try to reproduce and let you know. Otherwise, it may have been a fluke.

@ruben-arts ruben-arts added the needs-more Needs more information from the reporter label Dec 3, 2024
@RaphaelMelanconAtBentley
Copy link
Author

I was not able to reproduce... Must be a very specific sequence of actions to trigger this. Will reopen if I run into this again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-more Needs more information from the reporter
Projects
None yet
Development

No branches or pull requests

4 participants