From 1d3536b81652d19a27453c5d9b791dc515a22ca2c41e837418c61e92b43fca71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 19 Jul 2019 10:23:07 +0000 Subject: [PATCH] - Restrict pytest to 3.x as the newer does not work with release. In upstream git this was fixed by quite few commits so lets just wait for the release OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyHamcrest?expand=0&rev=9 --- python-PyHamcrest.changes | 7 +++++++ python-PyHamcrest.spec | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/python-PyHamcrest.changes b/python-PyHamcrest.changes index 164fe82..1cd774a 100644 --- a/python-PyHamcrest.changes +++ b/python-PyHamcrest.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Jul 19 10:22:31 UTC 2019 - Tomáš Chvátal + +- Restrict pytest to 3.x as the newer does not work with release. + In upstream git this was fixed by quite few commits so lets + just wait for the release + ------------------------------------------------------------------- Wed Jul 3 08:35:33 UTC 2019 - Tomáš Chvátal diff --git a/python-PyHamcrest.spec b/python-PyHamcrest.spec index c8a3d18..b27788e 100644 --- a/python-PyHamcrest.spec +++ b/python-PyHamcrest.spec @@ -31,7 +31,7 @@ Patch0: 0001-Add-boolean-matchers.patch Patch1: pytest4.patch BuildRequires: %{python_module hypothesis >= 1.11} BuildRequires: %{python_module mock} -BuildRequires: %{python_module pytest} +BuildRequires: %{python_module pytest < 4.0} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six >= 1.4} BuildRequires: fdupes @@ -50,6 +50,7 @@ allowing you to declaratively define “match” rules. %prep %setup -q -n PyHamcrest-%{version} %autopatch -p1 + rm pytest.ini %build