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

$MAMBA_EXE not in $PATH on macos-latest runners #224

Closed
mattwthompson opened this issue Sep 16, 2024 · 3 comments
Closed

$MAMBA_EXE not in $PATH on macos-latest runners #224

mattwthompson opened this issue Sep 16, 2024 · 3 comments

Comments

@mattwthompson
Copy link

On macOS, the executable is installed into /Users/runner/micromamba-bin/micromamba, which is not in $PATH on macos-latest (M1 runners) but is on macos-12 (Intel architecture). This appears to be the root cause of surprising behavior i.e. commands like which micromamba fail. Here is a reproducing workflow: https://github.com/mattwthompson/micromamba-path-reproduction/actions/runs/10891923866/workflow

Credit to @ethanholz for trying a bunch of things that resulted in narrowing this down.

We can work around this by setting micromamba-binary-path but this doesn't seem like it should be required. In fact, I didn't have to set this option in the past. This behavior changed sometime around Friday of last week (9/13 or 9/14) for reasons I'm unable to pin down:

Am I doing something wrong here? Was I doing something wrong before?

@pavelzw
Copy link
Member

pavelzw commented Sep 16, 2024

xref actions/runner-images#10624, prefix-dev/setup-pixi#139

@mattwthompson
Copy link
Author

Ah thanks! I figured it was probably a more widespread issue and was surprised it hadn't been reported here earlier today. Quite messy

@pavelzw
Copy link
Member

pavelzw commented Sep 20, 2024

Seems to be fixed upstream.

@pavelzw pavelzw closed this as completed Sep 20, 2024
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

No branches or pull requests

2 participants