Open skayred opened 1 month ago
The problem is that we can't retroactively change the "conda" dependencies.
Pixi works by solving all [(host-/build-)dependencies]
(conda
) and then [pypi-dependencies]
which are two different solvers. These two can't interact with each other on solve.
pixi add pydicom
will add the latest version of pydicom
but your pypi packages didn't like that as they demand a <3
.
All the conda
dependencies are injected into the pypi
solve to avoid reinstalling or overwriting conda
packages with pypi
packages. Thus creating this error for you.
I'm sorry but we can't solve this yet.
Checks
[x] I have checked that this issue has not already been reported.
[x] I have confirmed this bug exists on the latest version of pixi, using
pixi --version
.Reproducible example
pyproject.toml
pixi.toml
Issue description
With the provided files (directory
another
is inside the project directory and contains the providedpyproject.toml
file), I can run the following command successfully:But when I try to add the
pydicom
into the Pixi project as well, I am facing the issue:although there is a version that can be used. If I specify the version, package can be added properly:
Expected behavior
Pixi should be able to resolve the 2.. version of the package when added without the explicitly mentioned version.