mamba-org/mamba

Libmamba failed to parse PackageInfo URL error (regression)

Closed this issue · 1 comments

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

Packageinfo url

Latest version of Mamba

  • My problem is not solved with the latest version

Tried in Conda?

Not applicable

Describe your issue

I'm trying to build a micromamba environment from a lock file with docker. The environment requires a pip package. Building the container succeeds with mambaorg/micromamba:1.5.10 but fails with 2.0 and newer versions.

The error:

 > [5/5] RUN micromamba install -y -n base -f ./conda-lock.yml &&     micromamba clean --all --yes:
0.190 critical libmamba Fail to parse PackageInfo URL "https://files.pythonhosted.org/packages/e4/2f/b6ad927d467451a1b5872cce8e7204ec25d2a6cde8077cb28003ed35787d/Checkm-0.4.tar.gz"

The env the lock was created from:

channels:
  - conda-forge
  - bioconda
  - nodefaults
dependencies:
  - pip
  - pip:
    - checkm

The Dockerfile:

FROM  mambaorg/micromamba:2.0.3

WORKDIR /opt/app
USER root
RUN chown -R mambauser:mambauser /opt/app



COPY conda-lock.yml .
RUN micromamba install -y -n base -f ./conda-lock.yml && \
    micromamba clean --all --yes

ENTRYPOINT ["/usr/local/bin/_entrypoint.sh"]

The command to generate the lock file from the env:

conda-lock lock  -f env.yml -k lock -p linux-64

The conda-lock file is attached (renamed to fit file upload rules).
conda-lock.yml.txt

mamba info / micromamba info

No response

Logs

No response

environment.yml

No response

~/.condarc

No response

Hind-M commented

Closing this as it's a duplicate of #3589 (which contains logs).