This repository was archived by the owner on Jan 13, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +16
-4
lines changed
Expand file tree Collapse file tree 2 files changed +16
-4
lines changed Original file line number Diff line number Diff line change 8282 simple ``.headers `` and ``.trailers `` properties that contain
8383 ``HTTPHeaderMap `` structures.
8484 - Headers and trailers are now bytestrings, rather than unicode strings.
85- - An ``iter_chunked() `` method was added to repsonse objects that allows
85+ - An ``iter_chunked() `` method was added to response objects that allows
8686 iterating over data in units of individual data frames.
8787 - Changed the name of ``getresponse() `` to ``get_response() ``, because
8888 ``getresponse() `` was a terrible name forced upon me by httplib.
Original file line number Diff line number Diff line change 2929py_version = sys .version_info [:2 ]
3030py_long_version = sys .version_info [:3 ]
3131
32+ try :
33+ pypy_version = sys .pypy_version_info [:2 ]
34+ except AttributeError :
35+ pypy_version = None
36+
37+
3238def resolve_install_requires ():
33- if py_version == (3 ,3 ):
34- return ['pyOpenSSL>=0.15' , 'service_identity>=14.0.0' ]
35- elif py_version == (2 ,7 ) and py_long_version < (2 ,7 ,9 ):
39+ if py_version == (3 , 3 ):
3640 return ['pyOpenSSL>=0.15' , 'service_identity>=14.0.0' ]
41+ elif py_version == (2 , 7 ) and py_long_version < (2 , 7 , 9 ):
42+ deps = ['pyOpenSSL>=0.15' , 'service_identity>=14.0.0' ]
43+
44+ # PyPy earlier than 2.6.0 doesn't support cryptography 1.0
45+ if pypy_version and pypy_version < (2 , 6 ):
46+ deps .append ('cryptography<1.0' )
47+
48+ return deps
3749 return []
3850
3951packages = [
You can’t perform that action at this time.
0 commit comments