-
Notifications
You must be signed in to change notification settings - Fork 3k
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
pip install doesn't carry-on index-url certificate - failing build dependencies installation #8999
Comments
Is this related to pypi/warehouse#8706? |
@pradyunsg it is not related to 8706 issue |
This sounds more like some pip options not being carried over to the isolated build environment. |
Hi @pradyunsg This issue happens because only parts of repo-related arguments are carry over to pip subprocess during the creation of build environment. I guess the network connectivity tag is misleading here thanks. |
Agreed. I've changed it to "PEP 517 impact" which isn't entirely accurate, I thought we had a "Build isolation" tag, but either I'm misremembering or it's been removed. PEP 517 isn't specifically build isolation, but it's the closest I could find. |
Hi @pfmoore @pradyunsg , Kindly would like to know if there is some fix planned for this or some workaround I can use. Thanks |
No fix currently planned/available, I'm afraid. As usual PRs would be welcome (but it's not a simple fix!) As a workaround, you could disable build isolation and manage the build environment manually. |
Environment
Description
I'm using pip to install a package (
iniconfig==1.1.0
) from an internal secured repository, thus providing a certificate via command line args (--cert=...
).The package is distributed as a source dist (not a wheel) and pip tries first to install the package build dependencies (
Installing build dependencies ...
).when it tries doing so, pip invokes a nested pip install command, carrying on the index-url but not the certificate, thus the installation fails.
Note how in the sub pip install command the index is carried on but the certificate is not:
Expected behavior
certificate argument should be carried on to sub pip install commands
How to Reproduce
Output
The text was updated successfully, but these errors were encountered: