-
Notifications
You must be signed in to change notification settings - Fork 359
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
2.0.3-0 breaks mamba-org/setup-micromamba@v2 GH Action #3576
Comments
I can reproduce this on the powershell command-line with micromamba. PS C:\Users\Me> micromamba env create -yqn minrepro python<3.13
PS C:\Users\Me> micromamba list -n minrepro
critical libmamba could not load prefix data
PS C:\Users\Me> micromamba --version
2.0.3 It does not repro with unconstrained python (or |
same issue here. (mamba-org/micromamba-releases#62) |
Another example of that issue in https://github.com/pyoceans/nbrr/actions/runs/11719160248/job/32641844119?pr=28 |
micromamba 2.0.3 has been marked as broken, and the release removed from micromamba-releases. micromamba 2.0.2 should be downloaded as the latesst, this should fix the issues for now. |
Note that In these logs we can see that the source of the issue is an exception coming from python. The end log is the same, but the initial report here does not have that python excpetion. When "could not load prefix data" error occurs we lose the original error message that lead to that point, so I made a pr to help with that: #3581 That might clarify what's happening and distinguish the different sources of problem. Unfortunately so far I cannot reproduce the error based on the initial report (using the env on window but removing gunicorn) neither with kapiraman's repro. But I'm looking into the details. |
Unfortunately 2-2.0.2 had another issue preventing (Which seems to be fixed in 2.0.3, so that's progress!) |
We think the issue might be fixed by #3584 |
I'm very eager to try it out in the context of conda-lock. Would you please be able to post here with instructions once the alpha is available? |
Yes 👍🏽 In your ci scripts that reproduces the issue, add |
Looks good for my use case. Using the 2.0.4-alpha win-64 build artifact, I can't repro. |
How can I use an alpha version? It doesn't seem possible: |
@maresb I used the built artifact directly for my command-line case. For setup-micromamba, it looks like you could use |
Thanks @kapiraman for the hints! I didn't notice the Would it be able to cut a release for the alpha on micromamba-releases? It seems like I should be able to use |
@maresb |
Here's the result:
@Klaim, I added |
@maresb Thanks! Did you try with That error is different from the one already fixed so that's progress. |
Great! Could you please be more specific with your suggestion? Where can I insert |
Ah sorry I thought you were running the list command through a custom script. I'll have to check how |
It's because this line doesn't pass in |
I went ahead and forked setup-micromamba to add the logging. Here are the full logs
|
@maresb We still fail to reproduce that issue and we need to see what's that data being parsed (we have some idea of what is failing but not sure) so we'll release another alpha with more logs when that error occurs |
Sounds good @Klaim, thanks so much for all the effort to the bottom of this! I await the next alpha release in micromamba-releases. |
Hey @maresb! The new alpha is available on micromamba-releases. |
Great, thanks! Please see https://github.com/conda/conda-lock/actions/runs/11855193213/job/33038908463?pr=720#step:5:416 |
looks like pip uses |
|
Now setup-micromamba is working as expected for me. Thanks so much!!! |
Troubleshooting docs
Anaconda default channels
How did you install Mamba?
Other (please describe)
Search tried in issue tracker
no other issue found
Latest version of Mamba
Tried in Conda?
Not applicable
Describe your issue
With latest micromamba 2.0.3-0 our CI mamba-org/setup-micromamba@v2 GH Action stopped working.
See https://github.com/pydata/xarray/actions/runs/11704038363/job/32595639555
mamba info / micromamba info
Logs
environment.yml
~/.condarc
no input
The text was updated successfully, but these errors were encountered: