From a1d6618ef3c4f81103425df0e4969f4d3209ab36 Mon Sep 17 00:00:00 2001 From: yatinkarel Date: Mon, 8 Jun 2020 10:28:47 +0530 Subject: [PATCH] Update minimal requirement of six to >= 1.16.0 urllib3-1.26.5 to work properly needs six to be atleast >= 1.16.0. So to ensure when urllib3 is installed already installed python3-six is upgraded let's set minimum requirement of six to >= 1.16.0[1] which contains required methods like six.ensure_text method needed by urllib3-1.26.5, also urllib3 bundles six-1.16.0[2]. [1] https://github.com/urllib3/urllib3/commit/5b047b [2] https://github.com/urllib3/urllib3/commit/2698537 --- python-urllib3.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/python-urllib3.spec b/python-urllib3.spec index 18b8ea0..d758a9e 100644 --- a/python-urllib3.spec +++ b/python-urllib3.spec @@ -5,7 +5,7 @@ Name: python-%{srcname} Version: 1.26.5 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Python HTTP library with thread-safe connection pooling and file post License: MIT @@ -37,7 +37,7 @@ BuildRequires: python3-idna Requires: ca-certificates Requires: python3-idna -Requires: python3-six +Requires: python3-six >= 1.16.0 Requires: python3-pysocks %description -n python3-%{srcname} @@ -117,6 +117,9 @@ ln -s %{python3_sitelib}/__pycache__/six.cpython-%{python3_version_nodots}.pyc \ %changelog +* Wed Jun 30 2021 Yatin Karel - 1.26.5-2 +- Update minimal requirement of six to >= 1.16.0 + * Wed Jun 16 2021 Karolina Surma - 1.26.5-1 - Update to 1.26.5 - Fixes rhbz#1965056