mamba-org / mamba

The Fast Cross-Platform Package Manager
https://mamba.readthedocs.io
BSD 3-Clause "New" or "Revised" License
6.98k stars 359 forks source link

Shell init issue on CI #3478

Closed JohanMabille closed 1 month ago

JohanMabille commented 2 months ago

micromamba 2.0.0-0 shell init fails with the following message: "warning libmamba Not setting long path registry key; Windows version must be at least 10 with the fall 2016 "Anniversary update" or newer."

Reverting to micromamba 1.5.10-0 fixes the issue. See this build for an example of failure.

jezdez commented 2 months ago

Wondering if this is related to this change: https://github.com/mamba-org/mamba/pull/3225/files#diff-36fff103b809785e940a91bd500f4205a5e11156eebce5884cb60f1ce4c76d45

JohanMabille commented 2 months ago

This file is installed and used when installing / working with mamba. When installing micromamba, it is generated when you run micromamba shell init.

JohanMabille commented 2 months ago

@jezdez actually you were right, this file is used to generate that of micromamba, and it was bugged. It should be fixed in #3484

EDIT: the fix in #3484 is not enough.

JohanMabille commented 1 month ago

Fixed in https://github.com/mamba-org/mamba/pull/3489