From f032b5b74efce337ff4f8b3feb00a8a72857feee Mon Sep 17 00:00:00 2001 From: Jeremy Cline Date: Tue, 28 May 2019 13:21:36 -0400 Subject: [PATCH] Drop Python 2 tests as python2-tornado is going away --- python-urllib3.spec | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/python-urllib3.spec b/python-urllib3.spec index 9877801..29942b7 100644 --- a/python-urllib3.spec +++ b/python-urllib3.spec @@ -5,7 +5,7 @@ Name: python-%{srcname} Version: 1.25.3 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Python HTTP library with thread-safe connection pooling and file post License: MIT @@ -37,18 +37,6 @@ Requires: python2-ipaddress Requires: python2-pysocks BuildRequires: python2-devel -%if %{with tests} -BuildRequires: python2-backports-ssl_match_hostname -BuildRequires: python2-nose -BuildRequires: python2-nose-exclude -BuildRequires: python2-coverage -BuildRequires: python2-mock -BuildRequires: python2-six -BuildRequires: python2-pysocks -BuildRequires: python2-pytest -BuildRequires: python2-tornado -BuildRequires: python2-idna -%endif %description -n python2-%{srcname} Python2 HTTP module with connection pooling and file POST abilities. @@ -129,7 +117,6 @@ ln -s %{python3_sitelib}/__pycache__/six.cpython-%{python3_version_nodots}.pyc \ %if %{with tests} %check pushd test -PYTHONPATH=%{buildroot}%{python2_sitelib}:%{python2_sitelib} %{__python2} -m pytest -v PYTHONPATH=%{buildroot}%{python3_sitelib}:%{python3_sitelib} %{__python3} -m pytest -v popd %endif @@ -150,6 +137,9 @@ popd %changelog +* Tue May 28 2019 Jeremy Cline - 1.25.3-2 +- Drop the Python 2 tests since Tornado is going away + * Tue May 28 2019 Jeremy Cline - 1.25.3-1 - Update to 1.25.3