Use backports.ssl_match_hostname
The py2-ipaddress module unfortunately conflicts with the pypi:ipaddress module, which is in the dependency tree of widely used pyOpenSSL. I think it would be a good idea to use a well maintained backport of the Python 3.5 implementation of match_hostname() instead of duplicating the effort and maintain another.
All tests are passing here.
Signed-off-by:
Felix Yan <felixonmars@archlinux.org>
Showing
requests==2.5.3 | requests==2.5.3 | ||
six>=1.4.0 | six>=1.4.0 | ||
websocket-client==0.32.0 | websocket-client==0.32.0 | ||
py2-ipaddress==3.4.1 ; python_version < '3.2' | backports.ssl_match_hostname>=3.5 ; python_version < '3.5' | ||
\ No newline at end of file | \ No newline at end of file |
Please
register
or
sign in
to comment