Skip to content

Commit beb0773

Browse files
committed
Update minimal requirement of six to >= 1.12.0
urllib3-1.25.7 do not work with python3-six-1.11.0 which is in CentOS8 base repo. So to ensure when urllib3 is installed already installed python3-six is upgraded let's set minimum requirement of six to >= 1.12.0[1] which contains required methods like six.ensure_text method needed by urllib3-1.25.7. PR proposed to update in Fedora too[2]. In RDO we have six==1.14.0 in CentOS8 repos currently, so we are good. [1] urllib3/urllib3@5b047b [2] https://src.fedoraproject.org/rpms/python-urllib3/pull-request/10
1 parent 898505f commit beb0773

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

python-urllib3.spec

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
Name: python-%{srcname}
88
Version: 1.25.7
9-
Release: 2%{?dist}
9+
Release: 3%{?dist}
1010
Summary: Python HTTP library with thread-safe connection pooling and file post
1111

1212
License: MIT
@@ -37,7 +37,7 @@ BuildRequires: python3-idna
3737

3838
Requires: ca-certificates
3939
Requires: python3-idna
40-
Requires: python3-six
40+
Requires: python3-six >= 1.12.0
4141
Requires: python3-pysocks
4242

4343
%description -n python3-%{srcname}
@@ -96,6 +96,9 @@ popd
9696

9797

9898
%changelog
99+
* Mon Jun 08 2020 Yatin Karel <ykarel@redhat.com> - 1.25.7-3
100+
- Update minimal requirement of six to >= 1.12.0
101+
99102
* Mon Nov 18 2019 Miro Hrončok <mhroncok@redhat.com> - 1.25.7-2
100103
- Subpackage python2-urllib3 has been removed
101104
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal

0 commit comments

Comments
 (0)