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