-
Notifications
You must be signed in to change notification settings - Fork 33
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
DeprecationWarning
forurllib3.contrib.pyopenssl
#40
Comments
Any pull request making requests_pkcs2 work with urllib3 2.x is welcome - or just testing whether just removing that restriction in Having said that, the urllib3 stuff is a leftover from the Python2 compatible implementation. If there is a way to implement this via Python3's plain urllib, it'd be even happier. Here, again, any pull request is welcome. |
I'll try make a PR, but I'm sure no expert in this area. What if we change this line requests_pkcs12/requests_pkcs12.py Line 106 in 473bf08
to use create_ssl_sslcontext instead. Then delete create_pyopenssl_sslcontext and remove all dependency on urllib3 and pyopenssl ?
Or is there a reason we need to use |
I made a PR to allow |
Sorry for the late response. I believe that your proposal:
is the way to go. It doesn't make sense to support
to
as well. |
Thanks for your contribution! We just released version 1.16 which contains your improvement: |
Our solution appears to have an unintended side effect, see #44. |
Could be wrong, but is it possible that this change also had the side affect of no longer allowing This is the error that we get with
|
I am seeing the same problem. I do not know how to make a fix for this. You can change |
I am getting a
DeprecationWarning
fromurllib3
as described here: urllib3/urllib3#2691. Is it possible to fix this?On a related note, are there plans to allow
urllib3>=2.0.0
?The text was updated successfully, but these errors were encountered: