From 7c695386fcc5c175b85b4ddf88c528de452d115962ad58c4d52ca6223052328c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 18 Jul 2019 09:25:36 +0000 Subject: [PATCH] - Hardcode pytest4 for testing as pytest5 fails for now OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-responses?expand=0&rev=18 --- python-responses.changes | 5 +++++ python-responses.spec | 8 +++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/python-responses.changes b/python-responses.changes index d6feae8..3da1ac8 100644 --- a/python-responses.changes +++ b/python-responses.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jul 18 09:24:05 UTC 2019 - Tomáš Chvátal + +- Hardcode pytest4 for testing as pytest5 fails for now + ------------------------------------------------------------------- Tue May 14 14:13:30 UTC 2019 - Ondřej Súkup diff --git a/python-responses.spec b/python-responses.spec index f1bb7a0..64475c5 100644 --- a/python-responses.spec +++ b/python-responses.spec @@ -23,16 +23,17 @@ Release: 0 Summary: A utility library for mocking out the `requests` Python library License: Apache-2.0 Group: Development/Languages/Python -Url: https://github.com/getsentry/responses +URL: https://github.com/getsentry/responses Source: https://files.pythonhosted.org/packages/source/r/responses/responses-%{version}.tar.gz -BuildRequires: %{python_module setuptools} # test requirements BuildRequires: %{python_module cookies} BuildRequires: %{python_module mock} BuildRequires: %{python_module pytest-localserver} -BuildRequires: %{python_module pytest} +BuildRequires: %{python_module pytest4} BuildRequires: %{python_module requests >= 2.0} +BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} +BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-requests >= 2.0 Requires: python-six @@ -57,6 +58,7 @@ about the library. %install %python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} %check %pytest