Accepting request 962618 from home:bnavigator:branches:devel:languages:python

- Update requirements: v22 is not compatible with Python 3.6 and
  thus not suitable for SLE/Leap 15.

OBS-URL: https://build.opensuse.org/request/show/962618
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pip?expand=0&rev=97
This commit is contained in:
Matej Cepl 2022-03-18 17:03:06 +00:00 committed by Git OBS Bridge
parent 90461fc037
commit 875ceee46f
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Mar 18 09:32:29 UTC 2022 - Ben Greiner <code@bnavigator.de>
- Update requirements: v22 is not compatible with Python 3.6 and
thus not suitable for SLE/Leap 15.
-------------------------------------------------------------------
Thu Mar 17 10:28:24 UTC 2022 - Matej Cepl <mcepl@suse.com>

View File

@ -22,7 +22,7 @@
%bcond_with libalternatives
%endif
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%{?!python_module:%define python_module() python3-%{**}}
%global flavor @BUILD_FLAVOR@%{nil}
%if "%{flavor}" == "test"
%define psuffix -test
@ -50,6 +50,7 @@ URL: http://www.pip-installer.org
Source: https://github.com/pypa/pip/archive/%{version}.tar.gz#/pip-%{version}-gh.tar.gz
# PATCH-FIX-OPENSUSE pip-shipped-requests-cabundle.patch -- adapted patch from python-certifi package
Patch0: pip-shipped-requests-cabundle.patch
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module setuptools >= 40.8.0}
BuildRequires: ca-certificates
BuildRequires: fdupes