Skip to content

Cannot install additional dependencies when using micromamba lock installation #1760

@pavelzw

Description

@pavelzw

When creating an environment with micromamba and specifying a lock file with additional packages to install, micromamba only takes care of the lock file but not the additional packages.

Example:
lockfile.lock

@EXPLICIT
https://conda.anaconda.org/conda-forge/linux-64/numpy-1.21.6-py37h976b520_0.tar.bz2#b0701d8dc4849b6e06caf1c84135c13c
❯ micromamba create -n testenv -y -f lockfile.lock pytest

                                           __
          __  ______ ___  ____ _____ ___  / /_  ____ _
         / / / / __ `__ \/ __ `/ __ `__ \/ __ \/ __ `/
        / /_/ / / / / / / /_/ / / / / / / /_/ / /_/ /
       / .___/_/ /_/ /_/\__,_/_/ /_/ /_/_.___/\__,_/
      /_/

Transaction

  Prefix: /Users/pavelzwerschke/micromamba/envs/testenv

  Updating specs:

   - conda-forge/linux-64::numpy==1.21.6=py37h976b520_0[md5=b0701d8dc4849b6e06caf1c84135c13c]


  Package  Version  Build           Channel           Size
────────────────────────────────────────────────────────────
  Install:
────────────────────────────────────────────────────────────

  + numpy   1.21.6  py37h976b520_0  conda-forge     Cached

  Summary:

  Install: 1 packages

  Total download: 0 B

────────────────────────────────────────────────────────────


Transaction starting
Linking numpy-1.21.6-py37h976b520_0
Transaction finished

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions