From ff97821d618e80affeaf2f587c9bde55f34cf08a587c563efb7d7fc498c16078 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sat, 16 Oct 2021 20:25:01 +0000 Subject: [PATCH 1/3] - update to 3.2.1: * Fixed the detection of test worker failures before reporting final result status OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-stestr?expand=0&rev=44 --- python-stestr.changes | 7 +++++++ python-stestr.spec | 8 ++------ stestr-3.2.0.tar.gz | 3 --- stestr-3.2.1.tar.gz | 3 +++ 4 files changed, 12 insertions(+), 9 deletions(-) delete mode 100644 stestr-3.2.0.tar.gz create mode 100644 stestr-3.2.1.tar.gz diff --git a/python-stestr.changes b/python-stestr.changes index 696cb45..d23fb6f 100644 --- a/python-stestr.changes +++ b/python-stestr.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Sat Oct 16 20:23:53 UTC 2021 - Dirk Müller + +- update to 3.2.1: + * Fixed the detection of test worker failures before reporting final + result status + ------------------------------------------------------------------- Thu Jun 17 20:39:34 UTC 2021 - Dirk Müller diff --git a/python-stestr.spec b/python-stestr.spec index dfb00eb..b7b9d54 100644 --- a/python-stestr.spec +++ b/python-stestr.spec @@ -1,5 +1,5 @@ # -# spec file for package python-stestr%{psuffix} +# spec file # # Copyright (c) 2021 SUSE LLC # @@ -17,8 +17,6 @@ %{?!python_module:%define python_module() python3-%{**}} -# depending on openstack packages: stay on primary python interpreter only -%define pythons python3 %global flavor @BUILD_FLAVOR@%{nil} %if "%{flavor}" == "test" %define psuffix -%{flavor} @@ -28,7 +26,7 @@ %bcond_with test %endif Name: python-stestr%{psuffix} -Version: 3.2.0 +Version: 3.2.1 Release: 0 Summary: A test runner runner similar to testrepository License: Apache-2.0 @@ -41,7 +39,6 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRequires: python3-dbm Requires: python-PyYAML >= 3.10.0 -Requires: python-cliff >= 2.8.0 Requires: python-fixtures >= 3.0.0 Requires: python-future Requires: python-pbr >= 2.0.0 @@ -55,7 +52,6 @@ BuildArch: noarch %if %{with test} BuildRequires: %{python_module PyYAML >= 3.10.0} BuildRequires: %{python_module SQLAlchemy} -BuildRequires: %{python_module cliff >= 2.8.0} BuildRequires: %{python_module coverage >= 4.0} BuildRequires: %{python_module ddt >= 1.0.1} BuildRequires: %{python_module fixtures >= 3.0.0} diff --git a/stestr-3.2.0.tar.gz b/stestr-3.2.0.tar.gz deleted file mode 100644 index 05a6046..0000000 --- a/stestr-3.2.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fb492cbdf3d3fdd6812645804efc84a99a68bb60dd7705f15c1a2949c8172bc4 -size 118000 diff --git a/stestr-3.2.1.tar.gz b/stestr-3.2.1.tar.gz new file mode 100644 index 0000000..1a27052 --- /dev/null +++ b/stestr-3.2.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c23ee7ab441228d88365904a224fb8442da0c0289f901cf4a9422e929b7be9cd +size 118139 From c68572ad28ec6a613f7a9c93a71ada4156595193ead8335781bb0f0550a54268 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sat, 16 Oct 2021 20:47:08 +0000 Subject: [PATCH 2/3] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-stestr?expand=0&rev=45 --- python-stestr.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python-stestr.spec b/python-stestr.spec index b7b9d54..e9d27ff 100644 --- a/python-stestr.spec +++ b/python-stestr.spec @@ -37,7 +37,6 @@ BuildRequires: %{python_module pbr >= 2.0.0} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -BuildRequires: python3-dbm Requires: python-PyYAML >= 3.10.0 Requires: python-fixtures >= 3.0.0 Requires: python-future @@ -65,6 +64,7 @@ BuildRequires: %{python_module testtools >= 2.2.0} BuildRequires: %{python_module voluptuous >= 0.8.9} %endif %if "%{python_flavor}" == "python3" || "%{?python_provides}" == "python3" +Requires: python-cliff Requires: python-dbm %endif %if !0%{?_no_weakdeps} @@ -89,7 +89,7 @@ rm stestr/tests/repository/test_sql.py %if %{with test} %check export LC_ALL="en_US.UTF8" -%pytest stestr/tests -k 'not test_empty_with_pretty_out' +python3 -m pytest stestr/tests -k 'not test_empty_with_pretty_out' %endif %if ! %{with test} From c1a830291dba6ec74aab8b4cdb138ab5677157864733b8dc8a4e2db9fcbc79df Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sat, 16 Oct 2021 20:52:17 +0000 Subject: [PATCH 3/3] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-stestr?expand=0&rev=46 --- python-stestr.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-stestr.spec b/python-stestr.spec index e9d27ff..663148e 100644 --- a/python-stestr.spec +++ b/python-stestr.spec @@ -64,8 +64,8 @@ BuildRequires: %{python_module testtools >= 2.2.0} BuildRequires: %{python_module voluptuous >= 0.8.9} %endif %if "%{python_flavor}" == "python3" || "%{?python_provides}" == "python3" -Requires: python-cliff Requires: python-dbm +Requires: python3-cliff %endif %if !0%{?_no_weakdeps} Recommends: python-SQLAlchemy