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

micromamba create from lockfile cannot extract package #3835

Open
3 tasks done
tudoroancea opened this issue Feb 20, 2025 · 2 comments
Open
3 tasks done

micromamba create from lockfile cannot extract package #3835

tudoroancea opened this issue Feb 20, 2025 · 2 comments
Labels

Comments

@tudoroancea
Copy link

Troubleshooting docs

  • My problem is not solved in the Troubleshooting docs

Anaconda default channels

  • I do NOT use the Anaconda default channels (pkgs/* etc.)

How did you install Mamba?

Micromamba

Search tried in issue tracker

cannot find a valid extracted directory

Latest version of Mamba

  • My problem is not solved with the latest version

Tried in Conda?

Not applicable

Describe your issue

Hi all,

I opened this issue on the setup-micromamba repo yesterday and got redirected here.
Simply put, when creating an environment with micromamba from a conda-lock.yml file, there is an error when trying to extract one of the packages.
In my original issue, in CI it always seems to fail on the very first package.
I tried to reproduce the same issue by running micromamba create -f conda-lock.yml -n brains2 in a fresh docker container (either mambaorg/micromamba or a ubuntu:latest image with micromamba installed the classic way), and similar errors occurred, although on other packages further down the list.

Note that I am able to properly create the environment from the conda-lock.yml file with conda-lock install and the errors only occur with micromamba create.

Thanks for your input

mamba info / micromamba info

Logs

environment.yml

~/.condarc

@jjerphan jjerphan added the type::bug Something isn't working label Feb 20, 2025
@Hind-M
Copy link
Member

Hind-M commented Feb 25, 2025

This seems to be working with the last commit on main.
2.0.7.rc0 (and followed shortly by 2.0.7) contains the fix (#3710).
Please try it out to confirm.
Thanks!

@jjerphan
Copy link
Member

To complete @Hind-M's remark, you can try it with setup-micromamba using in the action:

micromamba-version: 2.0.7.rc0

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

No branches or pull requests

3 participants