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

fix: use best_platform to verify the run platform #1472

Merged
merged 1 commit into from
Jun 5, 2024

Conversation

ruben-arts
Copy link
Contributor

I believe this allows osx-64 only environments' tasks to run on osx-arm64. @wolfv Could you verify. I only checked with faking the current platform on my machine.

e.g. this should work on osx-arm64:

[project]
name = "foo"
channels = ["foo"]
platforms = ["linux-64", "win-64", "osx-64"]

[tasks]
test = "echo test"
pixi run test

Fixes #1404

@wolfv wolfv merged commit 3501f01 into prefix-dev:main Jun 5, 2024
24 checks passed
@wolfv
Copy link
Member

wolfv commented Jun 5, 2024

I tested, and it works!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tasks not found when switching from osx-arm64 to osx-64
2 participants