pixi
pixi copied to clipboard
`extra-index-urls` from `config.toml` are not passed on pixi init
In our docs, we say that extra-index-urls from config.toml will be passed to pixi init when creating one.
https://pixi.sh/latest/reference/pixi_configuration/#pypi-config
This doesn't work right now.
Take this as config.toml example
[pypi-config]
extra-index-urls = ["http://localhost:9999/simple/"]
when running pixi init you will receive this
[workspace]
authors = ["nichmor <[email protected]>"]
channels = ["conda-forge"]
name = "pixi_init_test"
platforms = ["osx-arm64"]
version = "0.1.0"
[tasks]
[dependencies]
but we expect to have pypi-options table with extra-index-url
@nichmor I tried to reproduce this and notice that if there's an index-url attribute (with extra-index-url as well), both attributes are copied. if it helps...
@noamgot thanks! good to know!
@nichmor I have a fix :) will open a PR