From ccc9f36bbbbbed75f75763dbb8820b0fd066bb257eb993007f5faf42ddf8245e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 26 Jul 2019 11:44:15 +0000 Subject: [PATCH] Accepting request 718851 from home:pgajdos - version update to 3.6.0 * Do not print an empty report if no tests marked 'flaky' were run at all (#116). NOTE: This change could be breaking if you relied on the flaky report being printed. - test via multibuild - added sources + _multibuild OBS-URL: https://build.opensuse.org/request/show/718851 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flaky?expand=0&rev=7 --- _multibuild | 3 +++ flaky-3.5.3.tar.gz | 3 --- flaky-3.6.0.tar.gz | 3 +++ python-flaky.changes | 9 +++++++++ python-flaky.spec | 33 ++++++++++++++++++++++++++++++++- 5 files changed, 47 insertions(+), 4 deletions(-) create mode 100644 _multibuild delete mode 100644 flaky-3.5.3.tar.gz create mode 100644 flaky-3.6.0.tar.gz diff --git a/_multibuild b/_multibuild new file mode 100644 index 0000000..fcc7b97 --- /dev/null +++ b/_multibuild @@ -0,0 +1,3 @@ + + test + diff --git a/flaky-3.5.3.tar.gz b/flaky-3.5.3.tar.gz deleted file mode 100644 index 76ce892..0000000 --- a/flaky-3.5.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:12bd5e41f372b2190e8d754b6e5829c2f11dbc764e10b30f57e59f829c9ca1da -size 29320 diff --git a/flaky-3.6.0.tar.gz b/flaky-3.6.0.tar.gz new file mode 100644 index 0000000..e15e8a3 --- /dev/null +++ b/flaky-3.6.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c24e321b3b4b4a2d323b646acff6738e7601849832f4280864d69f00a6a9869d +size 29523 diff --git a/python-flaky.changes b/python-flaky.changes index ef94c83..39511c1 100644 --- a/python-flaky.changes +++ b/python-flaky.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Fri Jul 26 10:48:12 UTC 2019 - pgajdos@suse.com + +- version update to 3.6.0 + * Do not print an empty report if no tests marked 'flaky' were run at all (#116). NOTE: This change could be breaking if you relied on the flaky report being printed. +- test via multibuild +- added sources + + _multibuild + ------------------------------------------------------------------- Tue Mar 12 15:24:55 UTC 2019 - Tomáš Chvátal diff --git a/python-flaky.spec b/python-flaky.spec index 88552b0..ab957c3 100644 --- a/python-flaky.spec +++ b/python-flaky.spec @@ -17,18 +17,29 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%global flavor @BUILD_FLAVOR@%{nil} +%if "%{flavor}" == "test" +%define psuffix -test +%bcond_without test +%else +%define psuffix %{nil} +%bcond_with test +%endif Name: python-flaky -Version: 3.5.3 +Version: 3.6.0 Release: 0 Summary: Plugin for nose or py.test that automatically reruns flaky tests License: Apache-2.0 Group: Development/Languages/Python URL: https://github.com/box/flaky Source: https://files.pythonhosted.org/packages/source/f/flaky/flaky-%{version}.tar.gz +%if %{with test} +BuildRequires: %{python_module flaky >= %{version}} BuildRequires: %{python_module genty} BuildRequires: %{python_module mock} BuildRequires: %{python_module nose} BuildRequires: %{python_module pytest} +%endif BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -47,16 +58,36 @@ For more information about flaky, see `this presentation