mamba-org / mamba

The Fast Cross-Platform Package Manager
https://mamba.readthedocs.io
BSD 3-Clause "New" or "Revised" License
6.93k stars 357 forks source link

Avoid downloading large package metadata #3431

Open adrinjalali opened 2 months ago

adrinjalali commented 2 months ago

In an IRL conversation with @wolfv and others he mentioned the infra for avoiding the download of the massive package metadata when running micromamba commands is there, but I can't find a way to use it. Is there a way already to do that with a micromamba command?

To be specific, this is what I want to avoid:

$ mmamba install jupyter
conda-forge/noarch                                  16.3MB @   7.9MB/s  2.1s
conda-forge/linux-64                                37.6MB @   9.8MB/s  3.9s

...
wolfv commented 2 months ago

Sadly, no. It's only implemented in rattler / pixi for now. There you can point to https://fast.prefix.dev/conda-forge to get a speedy version.

adrinjalali commented 1 month ago

Is this completed? Or it's a "wontfix" kinda thing?

Hind-M commented 1 month ago

So at the moment it's not implemented in mamba/micromamba. It could be at some point, but not in the short/medium term unfortunately. We can also mark it as a feature request.

jjerphan commented 1 month ago

For some context, https://github.com/conda/ceps/pull/75/ formalizes sharded repodata, an improved indexing solution for conda channels.

It has been accepted, but it needs to be implemented by forges (including conda-forge), and by packages managers (such as conda and mamba/micromamba).

jjerphan commented 1 month ago

https://github.com/conda/conda/issues/14060 is the main requirement which is being implemented by https://github.com/conda/conda-index/pull/161.