Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Enhance recipe-generator to allow for local/private pypi index #1071

Open
b-morgenthaler opened this issue Sep 27, 2024 · 0 comments

Comments

@b-morgenthaler
Copy link

b-morgenthaler commented Sep 27, 2024

Currently, the URL to pypi.org/simple apparently is hard-coded:

PackageSources::from(url::Url::parse("https://pypi.org/simple/").unwrap());

It would be nice to allow for local/private pypi index as well - overwriting the URL by environment variable or by passing a CLI option.

This might bring some more details with it, like disable ssl verification (e.g. if local index is self-signed) or basic authentication with URL if local index is private.

A possible "workaround" for this use case currently: use Conda's Greyskull to generate meta.yml from local/private pypi index -> convert meta.yml into recipe.yaml by conda-recipe-manager -> build with rattler-build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant