14
0
forked from pool/python-stestr

Accepting request 927140 from devel:languages:python

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/927140
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-stestr?expand=0&rev=19
This commit is contained in:
2021-10-30 21:13:03 +00:00
committed by Git OBS Bridge
4 changed files with 14 additions and 11 deletions

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sat Oct 16 20:23:53 UTC 2021 - Dirk Müller <dmueller@suse.com>
- 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 <dmueller@suse.com> Thu Jun 17 20:39:34 UTC 2021 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,5 +1,5 @@
# #
# spec file for package python-stestr%{psuffix} # spec file
# #
# Copyright (c) 2021 SUSE LLC # Copyright (c) 2021 SUSE LLC
# #
@@ -17,8 +17,6 @@
%{?!python_module:%define python_module() python3-%{**}} %{?!python_module:%define python_module() python3-%{**}}
# depending on openstack packages: stay on primary python interpreter only
%define pythons python3
%global flavor @BUILD_FLAVOR@%{nil} %global flavor @BUILD_FLAVOR@%{nil}
%if "%{flavor}" == "test" %if "%{flavor}" == "test"
%define psuffix -%{flavor} %define psuffix -%{flavor}
@@ -28,7 +26,7 @@
%bcond_with test %bcond_with test
%endif %endif
Name: python-stestr%{psuffix} Name: python-stestr%{psuffix}
Version: 3.2.0 Version: 3.2.1
Release: 0 Release: 0
Summary: A test runner runner similar to testrepository Summary: A test runner runner similar to testrepository
License: Apache-2.0 License: Apache-2.0
@@ -39,9 +37,7 @@ BuildRequires: %{python_module pbr >= 2.0.0}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
BuildRequires: python3-dbm
Requires: python-PyYAML >= 3.10.0 Requires: python-PyYAML >= 3.10.0
Requires: python-cliff >= 2.8.0
Requires: python-fixtures >= 3.0.0 Requires: python-fixtures >= 3.0.0
Requires: python-future Requires: python-future
Requires: python-pbr >= 2.0.0 Requires: python-pbr >= 2.0.0
@@ -55,7 +51,6 @@ BuildArch: noarch
%if %{with test} %if %{with test}
BuildRequires: %{python_module PyYAML >= 3.10.0} BuildRequires: %{python_module PyYAML >= 3.10.0}
BuildRequires: %{python_module SQLAlchemy} BuildRequires: %{python_module SQLAlchemy}
BuildRequires: %{python_module cliff >= 2.8.0}
BuildRequires: %{python_module coverage >= 4.0} BuildRequires: %{python_module coverage >= 4.0}
BuildRequires: %{python_module ddt >= 1.0.1} BuildRequires: %{python_module ddt >= 1.0.1}
BuildRequires: %{python_module fixtures >= 3.0.0} BuildRequires: %{python_module fixtures >= 3.0.0}
@@ -70,6 +65,7 @@ BuildRequires: %{python_module voluptuous >= 0.8.9}
%endif %endif
%if "%{python_flavor}" == "python3" || "%{?python_provides}" == "python3" %if "%{python_flavor}" == "python3" || "%{?python_provides}" == "python3"
Requires: python-dbm Requires: python-dbm
Requires: python3-cliff
%endif %endif
%if !0%{?_no_weakdeps} %if !0%{?_no_weakdeps}
Recommends: python-SQLAlchemy Recommends: python-SQLAlchemy
@@ -93,7 +89,7 @@ rm stestr/tests/repository/test_sql.py
%if %{with test} %if %{with test}
%check %check
export LC_ALL="en_US.UTF8" 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 %endif
%if ! %{with test} %if ! %{with test}

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fb492cbdf3d3fdd6812645804efc84a99a68bb60dd7705f15c1a2949c8172bc4
size 118000

BIN
stestr-3.2.1.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.