Accepting request 786399 from devel:languages:python

- 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/request/show/786399
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pbr?expand=0&rev=52
This commit is contained in:
Dominique Leuenberger 2020-03-26 23:27:17 +00:00 committed by Git OBS Bridge
commit 7ab040f9fe
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>

View File

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