-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
Add betterssl extra #2195
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
Add betterssl extra #2195
Conversation
|
+1 |
|
Could we use another name which doesn't sound like it will solve all problems? |
|
So, I'm going to raise a question! I was the one who opened the original ticket, but I wonder if it makes sense to do this anymore. On Python 3.4+ and Python 2.7.9+ it's not better anymore. On Python 3.2 and 3.3 it's better, but not in ways that couldn't be reproduced without extra dependencies. Either way, this PR looks good to me, the only question is if we still need/want it just for Python 2.6 and Python <=2.7.8. |
|
I don't think it will hurt to have it for 2.6 or <= 2.7.8. |
|
I agree that it won't hurt us to have, but I agree with @t-8ch that we should avoid the slightly prejudicial name. Maybe just call it |
|
I really have no opinion on the name. I would think |
|
I'd rather give it a more generic/rememberable name.
|
|
Updated to |
|
I fear this generic and positive name will lead to people enabling it that don't need it. Triggering compilation of pyopenssl, breakage when missing development tools etc. And on Python3 it will be ignored anyways. |
|
@t-8ch false |
|
urllib3 uses ndg-httpsclient. Importing this on py3 will raise a syntax error |
|
we can fix that in setup.py |
|
You mean: requests[betterssl] on Py3 will just be a noop? |
|
@t-8ch I don't understand your concerns in this statement:
The extra does not ship with anything |
|
Just an example for downsides which can arise when using the pyopenssl backend |
Python versions prior to 2.7.9 should install with pip install 'jsonrpcclient[requests_security]'. See requests issue https://github.com/kennethreitz/requests/issues/1995 resolved in PR https://github.com/kennethreitz/requests/pull/2195 Closes #31
Fixes #1995