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] Support custom pypi registries #27

Closed
robross0606 opened this issue Feb 9, 2024 · 3 comments
Closed

[Feature Request] Support custom pypi registries #27

robross0606 opened this issue Feb 9, 2024 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@robross0606
Copy link

robross0606 commented Feb 9, 2024

Is your feature request related to a problem/bug/intentional feature? Please describe if it is.

In many environments, users go to a proxy instead of directly to pypi.org. They also may be supplementing internal packages in their private registries. pip supports this by way of .pypirc, pip.conf/pip.ini and $PIP_INDEX_URL, but this project seems to ignore those settings and always uses pypi.org.

Describe the solution you'd like.

Ideally, the project would pay attention to the same configuration as pip and check the expected repositories instead of always using pypi.org.

Describe alternatives you've considered if there are any.

A direct command-line switch to override the repository URL would be marginally useful in lieu of directly using pip config files.

Additional context if applicable

You can see what pip checks by calling pip config list -v:

# pip config list -v
For variant 'global', will try loading '/etc/xdg/pip/pip.conf'
For variant 'global', will try loading '/etc/pip.conf'
For variant 'user', will try loading '/home/user/.pip/pip.conf'
For variant 'user', will try loading '/home/user/.config/pip/pip.conf'
For variant 'site', will try loading '/usr/pip.conf'
@robross0606 robross0606 added the enhancement New feature or request label Feb 9, 2024
@wasi-master
Copy link
Owner

wasi-master commented Feb 10, 2024

You mean support for alternative registries like test.pypi.org (and others)?

@robross0606
Copy link
Author

Yes, alternate registries including ones that are not necessarily publicly accessible.

@wasi-master
Copy link
Owner

Possible via the --repository flag

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

No branches or pull requests

2 participants