Accepting request 717015 from devel:languages:python

- 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/request/show/717015
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyHamcrest?expand=0&rev=3
This commit is contained in:
Dominique Leuenberger 2019-07-30 11:02:12 +00:00 committed by Git OBS Bridge
commit f030e16c11
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Jul 19 10:22:31 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- 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 <tchvatal@suse.com>

View File

@ -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