From 7143771b596854360f9c39b154c5f486c33146d6e199ab188f072a75c4505e5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 22 Jul 2019 07:58:25 +0000 Subject: [PATCH] - Hardcode pytest 3.x series as upstream even in git does not work with newer versions (they pinned the release) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=132 --- python-requests.changes | 6 ++++++ python-requests.spec | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/python-requests.changes b/python-requests.changes index 9ff191d..cc4ec1f 100644 --- a/python-requests.changes +++ b/python-requests.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jul 22 07:57:59 UTC 2019 - Tomáš Chvátal + +- Hardcode pytest 3.x series as upstream even in git does not work + with newer versions (they pinned the release) + ------------------------------------------------------------------- Sat May 25 08:41:20 UTC 2019 - Tomáš Chvátal diff --git a/python-requests.spec b/python-requests.spec index 39a3ec9..bb16bca 100644 --- a/python-requests.spec +++ b/python-requests.spec @@ -66,9 +66,9 @@ BuildRequires: %{python_module PySocks >= 1.5.6} BuildRequires: %{python_module brotlipy} BuildRequires: %{python_module chardet >= 3.0.2} BuildRequires: %{python_module idna >= 2.5} +BuildRequires: %{python_module pytest < 4.0} BuildRequires: %{python_module pytest-httpbin >= 0.0.7} BuildRequires: %{python_module pytest-mock} -BuildRequires: %{python_module pytest} BuildRequires: %{python_module requests >= %{version}} %endif %python_subpackages