Replies: 1 comment 1 reply
-
|
This is actually something in our pipeline, where we're removing the hashes of the source packages from the lockfile. Right now it looks something like this in your - pypi: ./
name: my-package
version: 0.1.0
sha256: 0f3f1573332ec80de9b1c6c770db78ffce83130f22819b9a2d82bafd9c31341e
requires_python: '>=3.11'And that has invalidates the environment when you change package metadata things. We agree this is not a good experience. I can't promise a ETA but this should be changed in the future. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've noticed that
pixi install --lockedwill fail withError: × lock-file not up-to-date with the workspacewhen all I've updated in mypyproject.tomlare things like[project.version],[project.authors], etc. This is confusing to me, because I don't think modifying any of these fields should have an effect on dependency resolution, and thus the lockfile.Is this expected behavior when using a
pyproject.tomland pixi? For context, I ran into this issue because I use release-please in CI, which opens PRs that bump the version inpyproject.toml. CI runspixi install --lockedon those PRs and fails, even though no dependencies have changed. For now I just usepixi install --frozen, but I would like to know if dependencies are out of sync with my lockfile in CI.Many thanks in advance, I truly appreciate the pixi team for creating and maintaining such a great tool.
Beta Was this translation helpful? Give feedback.
All reactions