Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tasks not found when running from osx-64 environment on osx-arm64 machine #1489

Closed
2 tasks done
croth1 opened this issue Jun 8, 2024 · 1 comment
Closed
2 tasks done
Labels
🐞 bug Something isn't working

Comments

@croth1
Copy link

croth1 commented Jun 8, 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

[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.

@croth1 croth1 added the 🐞 bug Something isn't working label Jun 8, 2024
@ruben-arts
Copy link
Contributor

This is related to: #1404 and will be fixed in the coming release 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants