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
There are >=2 environments with the same solve group AND
A strict subset of the environments reference a feature whose platforms is a strict subset of the project's platforms AND
At least one dependency in this feature is not available for all of the project's platforms
the solve fails. For the MWE above, it fails with the following message:
× failed to solve the conda requirements of 'prod' 'win-64'
╰─▶ Cannot solve the request because of: No candidates were found for kubernetes-kind *.
Expected behavior
The solve should be successful with:
env1 containing numpy for linux-64, osx-arm64 and win-64
env2 containing numpy and kubernetes-kind for linux-64 and osx-arm64
NOTE: The solve is successful when first removing the solve group and running pixi install, then re-running pixi install after re-introducing the solve group 👀
The text was updated successfully, but these errors were encountered:
This sounds like a reasonable extension of the solve-group feature. I would like to figure out where in the design this logic gets called, as I would also have expected it to skip the solve-group logic for the win-64 platform on env2.
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
Issue description
When trying to run a solve where
platforms
is a strict subset of the project'splatforms
ANDplatforms
the solve fails. For the MWE above, it fails with the following message:
Expected behavior
The solve should be successful with:
env1
containingnumpy
forlinux-64
,osx-arm64
andwin-64
env2
containingnumpy
andkubernetes-kind
forlinux-64
andosx-arm64
NOTE: The solve is successful when first removing the solve group and running
pixi install
, then re-runningpixi install
after re-introducing the solve group 👀The text was updated successfully, but these errors were encountered: