- 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
This commit is contained in:
Tomáš Chvátal 2020-03-19 10:08:15 +00:00 committed by Git OBS Bridge
parent 36addacad6
commit 63676216ca
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Mar 19 10:07:37 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- 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 <dmueller@suse.com> Fri Feb 28 21:58:24 UTC 2020 - Dirk Mueller <dmueller@suse.com>

View File

@ -82,13 +82,14 @@ sed -i '/coverage/d;/hacking/d' test-requirements.txt
%if %{with test} %if %{with test}
%check %check
export OS_TEST_TIMEOUT=60 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 %endif
%if !%{with test} %if !%{with test}
%install %install
%python_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_clone -a %{buildroot}%{_bindir}/pbr
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}