You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Sometimes, when a colleague changes the pyproject.toml / pixi.lock drastically just running "pixi install" is not creating the same pixi environment. I have observed that some packages are missing. E.g. just today pydantic was missing, even though it was an explicit dependency. In these situations I just delete .pixi and run "pixi install" again. This solves the problem. But I think there's a bug, because these packages shouldn't be missing.
I have exported two states of our pyproject.toml and pixi.lock here: pixi_issue.tar.gz
The output shouldn't show anything here either, but instead we see:
Traceback (most recent call last):
File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'pydantic'
Note that in both pyproject.toml files we have pydantic = ">=2.4.2" as a pypi dependency.
This is with pixi 0.32.1
Issue description
Expected behavior
The text was updated successfully, but these errors were encountered:
tfriedel
changed the title
pixi not installing explicit dependencies after irrelevant changes to pyproject/pixi.loc
pixi not installing explicit dependencies after irrelevant changes to pyproject/pixi.lock
Oct 9, 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
Sometimes, when a colleague changes the pyproject.toml / pixi.lock drastically just running "pixi install" is not creating the same pixi environment. I have observed that some packages are missing. E.g. just today pydantic was missing, even though it was an explicit dependency. In these situations I just delete .pixi and run "pixi install" again. This solves the problem. But I think there's a bug, because these packages shouldn't be missing.
I have exported two states of our pyproject.toml and pixi.lock here:
pixi_issue.tar.gz
How to reproduce the problem:
output: nothing
Then:
The output shouldn't show anything here either, but instead we see:
Note that in both pyproject.toml files we have pydantic = ">=2.4.2" as a pypi dependency.
This is with pixi 0.32.1
Issue description
Expected behavior
The text was updated successfully, but these errors were encountered: