From 63676216caa8ebfa855616e6031c1935ca00b883994d003132af74e50eaf59a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 19 Mar 2020 10:08:15 +0000 Subject: [PATCH] - Skip temporarily test_requirement_parsing as it requires old virtualenv 16 package, the 20.x changed api and the tests infrastructure would need rewrite OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pbr?expand=0&rev=129 --- python-pbr.changes | 7 +++++++ python-pbr.spec | 5 +++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/python-pbr.changes b/python-pbr.changes index 7d871d2..23718f1 100644 --- a/python-pbr.changes +++ b/python-pbr.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Mar 19 10:07:37 UTC 2020 - Tomáš Chvátal + +- Skip temporarily test_requirement_parsing as it requires + old virtualenv 16 package, the 20.x changed api and the tests + infrastructure would need rewrite + ------------------------------------------------------------------- Fri Feb 28 21:58:24 UTC 2020 - Dirk Mueller diff --git a/python-pbr.spec b/python-pbr.spec index f3e1d8d..0735400 100644 --- a/python-pbr.spec +++ b/python-pbr.spec @@ -82,13 +82,14 @@ sed -i '/coverage/d;/hacking/d' test-requirements.txt %if %{with test} %check export OS_TEST_TIMEOUT=60 -%python_exec -m stestr run +# test_requirement_parsing - syntax based on old virtualenv +%python_exec -m stestr run --black-regex 'test_requirement_parsing' %endif %if !%{with test} %install %python_install -%python_expand rm -rf %{buildroot}%{$python_sitelib}/pbr/tests +%python_expand rm -r %{buildroot}%{$python_sitelib}/pbr/tests %python_clone -a %{buildroot}%{_bindir}/pbr %python_expand %fdupes %{buildroot}%{$python_sitelib}