Drop the dependency on cryptography and idna

Both these dependencies were only used by the PyOpenSSL injection
module, which we don't need on Fedora as we ship sufficiently new
versions of Python.
This commit is contained in:
Jeremy Cline 2018-04-18 12:16:13 -04:00
parent 2b8e0c721a
commit f545e58745
No known key found for this signature in database
GPG Key ID: 9223308FA9B246DB

View File

@ -2,7 +2,7 @@
Name: python-%{srcname} Name: python-%{srcname}
Version: 1.22 Version: 1.22
Release: 7%{?dist} Release: 8%{?dist}
Summary: Python HTTP library with thread-safe connection pooling and file post Summary: Python HTTP library with thread-safe connection pooling and file post
License: MIT License: MIT
@ -28,8 +28,6 @@ Requires: python2-six
Requires: python2-backports-ssl_match_hostname Requires: python2-backports-ssl_match_hostname
# Secure extra requirements # Secure extra requirements
Requires: python2-cryptography
Requires: python2-idna
Requires: python2-ipaddress Requires: python2-ipaddress
Requires: python2-pysocks Requires: python2-pysocks
@ -65,9 +63,6 @@ BuildRequires: python3-tornado
Requires: ca-certificates Requires: ca-certificates
Requires: python3-six Requires: python3-six
Requires: python3-pysocks Requires: python3-pysocks
Requires: python3-cryptography
Requires: python3-idna
Requires: python3-pysocks
%description -n python3-%{srcname} %description -n python3-%{srcname}
Python3 HTTP module with connection pooling and file POST abilities. Python3 HTTP module with connection pooling and file POST abilities.
@ -140,6 +135,9 @@ py.test-3
%changelog %changelog
* Wed Apr 18 2018 Jeremy Cline <jeremy@jcline.org> - 1.22-8
- Drop the dependency on idna and cryptography (rhbz 1567862)
* Mon Apr 16 2018 Jeremy Cline <jeremy@jcline.org> - 1.22-7 * Mon Apr 16 2018 Jeremy Cline <jeremy@jcline.org> - 1.22-7
- Drop the dependency on PyOpenSSL, it's not needed (rhbz 1567862) - Drop the dependency on PyOpenSSL, it's not needed (rhbz 1567862)