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

Add support for global index-urls #170

Closed

Conversation

heliocastro
Copy link

Inside restricted environments, pip can be configures to use unique global.index-url.
Even added as extra index url, PyPI still present and would cause an blocked network request.

Used pip class to proper detect configured location.

Inside restricted environments, pip can be configured to use unique
global.index-url.
Even added as extra-index-url, PyPI still present and would cause an
blocked network request.

Used pip class to proper detect configured location.

Signed-off-by: Helio Chissini de Castro <[email protected]>
@TG1999
Copy link
Contributor

TG1999 commented Feb 8, 2024

@heliocastro thanks ++, please add some tests and also check https://github.com/nexB/python-inspector?tab=readme-ov-file#testing, additionally if there are any formatting errors please run make valid

@pombredanne
Copy link
Collaborator

@heliocastro I am closing this in favor of #180 ... I pinged there too.

@pombredanne pombredanne closed this Aug 9, 2024
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

Successfully merging this pull request may close these issues.

3 participants