mamba icon indicating copy to clipboard operation
mamba copied to clipboard

Failure with uv 0.9.7

Open nthiery opened this issue 2 months ago • 0 comments

Troubleshooting docs

  • [x] My problem is not solved in the Troubleshooting docs

Anaconda default channels

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

How did you install Mamba?

Micromamba

Search tried in issue tracker

searched for uv in the issues

Latest version of Mamba

  • [x] My problem is not solved with the latest version

Tried in Conda?

I didn't try

Describe your issue

In a CI build using mambaorg/micromamba:latest, with --use-uv and uv listed in the conda packages, the installation of pip packages failed with:

error: No virtual environment found; run `uv venv` to create an environment, or pass `--system` to install into a non-virtual environment
critical libmamba pip failed to install packages

Full CI log (and access to the CI configuration):

https://gitlab.dsi.universite-paris-saclay.fr/Info111/ComputerLab/-/jobs/179772

Reverting to uv <0.9 solved the problem (the intermediate commit is unrelated): https://gitlab.dsi.universite-paris-saclay.fr/Info111/ComputerLab/-/jobs/179781

Other example: https://gitlab.dsi.universite-paris-saclay.fr/mydocker/images/jupyter-python/-/jobs/178901

mamba info / micromamba info

mambaorg/micromamba:latest

Logs

https://gitlab.dsi.universite-paris-saclay.fr/Info111/ComputerLab/-/jobs/179772 https://gitlab.dsi.universite-paris-saclay.fr/mydocker/images/jupyter-python/-/jobs/178901

environment.yml

https://gitlab.dsi.universite-paris-saclay.fr/Info111/ComputerLab/-/blob/ffc42dfaa3d7ba56c9a029a5dd837456581f0f6a/binder/environment.yml

Note: for local testing, remove the travo line in the pip package list which was independently outdated.

~/.condarc

not applicable (in CI)

nthiery avatar Nov 07 '25 07:11 nthiery