Skip to content

Failure with uv 0.9.7 #4094

@nthiery

Description

@nthiery

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

searched for uv in the issues

Latest version of Mamba

  • 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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions