-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Support pip 22.2 truststore API #5282
Comments
Just thinking out-loud here that there are at least a couple tickets in the backlog requesting we add the ability to pass pip arguments through the installer. I am not sure how that would be yet, but either way I agree that we should support this use case. |
@danjamesmay I took a stab at adding the ability to pass |
@danjamesmay I am wondering if you have any feedback for me on my approach of implementing this -- specifically in my example you would pass something like I want to make sure that this is going to work for you and this general use case before I add the necessary documentation and look into new tests. Also I just merged the latest main into that branch in case you want to try it out, you can install that branch using pip. |
Is your feature request related to a problem? Please describe.
Using a corporate SSL cert results in a lot of errors like the following:
This is because it can't verify the cert against
https://pypi.python.org/simple
as defined in the Pipfile.I had to set
verify_ssl = false
to get around this, which is obviously not ideal.Describe the solution you'd like
Pipenv should use the new Pip 22.2 SSL api for using system cert stores: https://pip.pypa.io/en/latest/topics/https-certificates/#using-system-certificate-stores
Describe alternatives you've considered
I already tried setting
REQUESTS_CA_BUNDLE
to my corporate cert, but it didn't work for me.Additional context
I'm running inside a docker container using the official Python
3.10-alpine
image.I'm running Pipenv version
2022.8.19
The text was updated successfully, but these errors were encountered: