-
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 24.2 networking doesn't work with GraalPy #12892
Comments
It looks like The code around blob/main/src/pip/_vendor/truststore/_api.py#L277 appears to already be doing version-specific checks, so this should be possible to address. When GraalPython supports Python 3.13, they will have to add |
Yes, we'll have to add that method in GraalPy. GraalPy's SSL module is based on the JDK's SSL implementation, not OpenSSL directly, but that's for us to worry about. I've opened oracle/graalpython#414 to track this on our side |
same issue that pip cannot work. what should I do to use pip |
@sethmlarson
@ppalantir Downgrade to a version of pip that doesn't enable truststore by default. If you've installed 24.2 already, you should pass |
Indeed, they are required. I can submit a PR that doesn't use Truststore if these APIs aren't detected in the Python runtime in use if that's the approach pip would like to take? |
It would be nice if this check could be done on the truststore side so pip doesn't even have to concern itself with platform-specific system SSL differences (which is how pip's integration functions right now), but given the relevant APIs are methods, implementing the checks on pip's end is fine by me if doing it in truststore is too complex. Other maintainers may disagree. |
@ichard26 I can certainly add this to Truststore. Let me do that quickly and then pip can rebundle. |
Description
With truststore being the default in pip 24.2, pip fails to establish a secure connection when using GraalPy.
This is most likely an issue with truststore and/or GraalPy.
Since I saw it with a pip update from 24.1.2, opening an issue here.
cc @timfel (GraalPy)
cc @sethmlarson (truststore)
Expected behavior
Default settings work without workaround.
pip version
24.2
Python version
graalpy 24.0.2 (python 3.10)
OS
linux
How to Reproduce
https://github.com/mayeut/sandbox/blob/graalpy-pip-24.2/.github/workflows/sandbox.yml
Output
https://github.com/mayeut/sandbox/actions/runs/10226713699/job/28297302855
Code of Conduct
The text was updated successfully, but these errors were encountered: