pydata / xarray

N-D labeled arrays and datasets in Python
https://xarray.dev
Apache License 2.0
3.63k stars 1.09k forks source link

Move to micromamba 2 #9732

Closed kmuehlbauer closed 2 weeks ago

kmuehlbauer commented 2 weeks ago
kmuehlbauer commented 2 weeks ago

So, not sure what's going on but this looks like an real issue. Closing for now.

keewis commented 2 weeks ago

I think there's something wrong with setup-micromamba. Maybe try pinning to v2.0.0 for now?

kmuehlbauer commented 2 weeks ago

I've tried with one of my projects. There it works for linux and macosx with v2.0.1 but fails with all versions for windows. Here it seems it won't work at all. I'm hesitant to purge the caches as possible cause of trouble.

keewis commented 2 weeks ago

you can definitely purge the caches, they will just be recreated – it's a lot of (manual?) work, though

kmuehlbauer commented 2 weeks ago

Yes, did that, no change. Would need to find out the difference between here and https://github.com/wradlib/wradlib/actions/runs/11703040981

keewis commented 2 weeks ago

we may need to ask for help from the setup-micromamba devs, then, I can't quite tell if this was caused by setup-micromamba=2.0.1 or by the recent release of micromamba=2.0.3. Most likely the latter, though. Is there a way to pin micromamba somehow?

Edit: adding micromamba-version: 2.0.2 as an option to setup-micromamba might do the trick?

keewis commented 2 weeks ago

looks like that was it. @kmuehlbauer, would you report this to the micromamba issue tracker (mamba-org/mamba)?

kmuehlbauer commented 2 weeks ago

libmambapy seems not drop-in for conda.api :-1:

kmuehlbauer commented 2 weeks ago

@keewis https://github.com/mamba-org/mamba/issues/3576

kmuehlbauer commented 2 weeks ago

For the minimum version policy, this didn't work out. Did not find an solution, yet.