Accepting request 1073554 from home:marxin:branches:devel:languages:python

- Run tests in parallel.

OBS-URL: https://build.opensuse.org/request/show/1073554
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools-git-versioning?expand=0&rev=9
This commit is contained in:
Dirk Mueller 2023-03-21 16:19:34 +00:00 committed by Git OBS Bridge
parent f0dab3f5d4
commit 05e3512fd8
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Mar 21 13:30:49 UTC 2023 - Martin Liška <mliska@suse.cz>
- Run tests in parallel.
-------------------------------------------------------------------
Fri Mar 3 04:03:58 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>

View File

@ -45,6 +45,7 @@ BuildRequires: %{python_module Deprecated}
BuildRequires: %{python_module build}
BuildRequires: %{python_module coverage}
BuildRequires: %{python_module packaging}
BuildRequires: %{python_module pytest-xdist}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module toml}
@ -85,7 +86,7 @@ donttest="test_substitution_env"
donttest="$donttest or (test_version_file_count_commits and sha)"
# broken under Python 3.11
donttest="$donttest or test_substitution_timestamp"
%pytest -k "not ($donttest)"
%pytest -k "not ($donttest)" -n auto
%post
%python_install_alternative setuptools-git-versioning