aboutcode-org / python-inspector

Inspect Python code and PyPI package manifests. Resolve Python dependencies.
22 stars 19 forks source link

Add support for global index-urls #170

Closed heliocastro closed 3 months ago

heliocastro commented 9 months ago

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.

TG1999 commented 9 months ago

@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 commented 3 months ago

@heliocastro I am closing this in favor of https://github.com/aboutcode-org/python-inspector/issues/180 ... I pinged there too.