From e6e2e92eeadc00a2265cc6fb783ecbe2dcdfff7c31b29e5e247f63d63878b950 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 29 May 2020 09:27:55 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tri.declarative?expand=0&rev=7 --- python-tri.declarative.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/python-tri.declarative.spec b/python-tri.declarative.spec index 5707a81..e54bca7 100644 --- a/python-tri.declarative.spec +++ b/python-tri.declarative.spec @@ -29,9 +29,7 @@ Source: https://github.com/TriOptima/tri.declarative/archive/%{version}. BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-macros # SECTION test requirements -# Tests are incomptaible with pytest 5 -# https://github.com/TriOptima/tri.declarative/issues/9 -BuildRequires: %{python_module pytest < 5} +BuildRequires: %{python_module pytest >= 4.0} BuildRequires: %{python_module tri.struct >= 3.0.0} # /SECTION BuildRequires: fdupes @@ -55,7 +53,9 @@ subclass semantics in the style of django Model classes. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%pytest +# test_namespace_missing_call_target - pytest5 incompatible usage +# https://github.com/TriOptima/tri.declarative/issues/9 +%pytest -k 'not test_namespace_missing_call_target' %files %{python_files} %doc AUTHORS.rst README.rst