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

Be able to use user's pip.conf in pip resolution #838

Closed
fhoering opened this issue Jan 3, 2020 · 1 comment · Fixed by #2243
Closed

Be able to use user's pip.conf in pip resolution #838

fhoering opened this issue Jan 3, 2020 · 1 comment · Fixed by #2243

Comments

@fhoering
Copy link
Contributor

fhoering commented Jan 3, 2020

We have our own internal PyPi server and therefore need to do pip resolution with this server.

Before what we were doing is to inject a custom --index-url into bdist_pex

python setup.py bdist_pex .. --index-url=http://criteo/repository/pypi/simple

and also via a custom fetcher when using pex via the Python API.

Using custom configs is currently forbidden because vendored pip runs in isolated mode

It would be nice be able to use pip.conf now as it would remove the need to add the custom server into the code (we already have pip.conf file set up on all our platforms)

Could we introduce an additional flag here? Something like "--no-pip-isolated" for example.

@jsirois
Copy link
Member

jsirois commented May 11, 2020

Related: #336

@jsirois jsirois self-assigned this Jul 25, 2023
@jsirois jsirois mentioned this issue Aug 8, 2023
1 task
@jsirois jsirois mentioned this issue Aug 22, 2023
1 task
jsirois added a commit to jsirois/pex that referenced this issue Sep 18, 2023
When `--use-pip-config` is specified, both `PIP_*` env vars and Pip
configuration files will be read by the Pip Pex delegates to.

Fixes pex-tool#336
Fixes pex-tool#838
This was referenced Sep 18, 2023
jsirois added a commit that referenced this issue Sep 18, 2023
When `--use-pip-config` is specified, both `PIP_*` env vars and Pip
configuration files will be read by the Pip Pex delegates to.

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

Successfully merging a pull request may close this issue.

2 participants