prefix-dev / pixi

Package management made easy
https://pixi.sh
BSD 3-Clause "New" or "Revised" License
2.9k stars 159 forks source link

conda-pypi-map always triggers a warning #1791

Closed gzm55 closed 3 weeks ago

gzm55 commented 1 month ago

Checks

Reproducible example


cat >pixi.toml <<END
[project]
name = "test"
platforms = ["linux-64"]
version = "0.1"
conda-pypi-map = { "conda-forge" = "https://fake.com" }
channels = ["conda-forge", "https://conda.anaconda.org/conda-forge/" ]
END

pixi update

Issue description

always generate warning

WARN Defined custom mapping channel https://conda.anaconda.org/conda-forge/ is missing from project channels

and do not set any global configurations

Expected behavior

Should not print this warning.

benglewis commented 3 weeks ago

I also have this same issue. Is there any way to resolve it?

ruben-arts commented 3 weeks ago

We're working on it in #1820