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
[project]
name = "greetings"
requires-python = ">=3.10"
version = "0.1.0"
description = "Just greeting here"
[tool.pixi.project]
channels = ["conda-forge"]
# platforms = ["osx-arm64", "osx-64", "linux-64"] # greet task found
platforms = ["osx-64", "linux-64"] # greet task not found
[tool.pixi.dependencies]
python = "3.10.*"
[tool.pixi.tasks]
greet = "python -c \"print('hello world')\""
Run: pixi task list
Issue description
Just played around with the best_platform implementation and ran into following curiosity:
When I set platforms = ["osx-64", "linux-64"], pixi task list claims No tasks found , but adding back osx-arm64, magically collects the tasks correctly.
Expected behavior
Tasks correctly collected when osx-64 is inferred as the best platform on osx-arm64 hardware.
The text was updated successfully, but these errors were encountered:
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
Run:
pixi task list
Issue description
Just played around with the
best_platform
implementation and ran into following curiosity:When I set
platforms = ["osx-64", "linux-64"]
,pixi task list
claimsNo tasks found
, but adding backosx-arm64
, magically collects the tasks correctly.Expected behavior
Tasks correctly collected when osx-64 is inferred as the best platform on osx-arm64 hardware.
The text was updated successfully, but these errors were encountered: