commit python-flaky for openSUSE:Factory

2020-08-01 Thread root
Hello community,

here is the log from the commit of package python-flaky for openSUSE:Factory 
checked in at 2020-08-01 12:31:14

Comparing /work/SRC/openSUSE:Factory/python-flaky (Old)
 and  /work/SRC/openSUSE:Factory/.python-flaky.new.3592 (New)


Package is "python-flaky"

Sat Aug  1 12:31:14 2020 rev:7 rq:823295 version:3.7.0

Changes:

--- /work/SRC/openSUSE:Factory/python-flaky/python-flaky.changes
2020-02-03 11:12:29.445819836 +0100
+++ /work/SRC/openSUSE:Factory/.python-flaky.new.3592/python-flaky.changes  
2020-08-01 12:31:31.838476618 +0200
@@ -1,0 +2,6 @@
+Wed Jul 29 05:39:42 UTC 2020 - Steve Kowalik 
+
+- Update to 3.7.0:
+  * Flaky now retries tests which fail during setup.
+
+---

Old:

  flaky-3.6.1.tar.gz

New:

  flaky-3.7.0.tar.gz



Other differences:
--
++ python-flaky.spec ++
--- /var/tmp/diff_new_pack.F8GGol/_old  2020-08-01 12:31:36.146480652 +0200
+++ /var/tmp/diff_new_pack.F8GGol/_new  2020-08-01 12:31:36.150480656 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package python-flaky
+# spec file for package python
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -25,11 +25,10 @@
 %bcond_with test
 %endif
 Name:   python-flaky%{?psuffix}
-Version:3.6.1
+Version:3.7.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
 BuildRequires:  %{python_module setuptools}

++ flaky-3.6.1.tar.gz -> flaky-3.7.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/flaky-3.6.1/PKG-INFO new/flaky-3.7.0/PKG-INFO
--- old/flaky-3.6.1/PKG-INFO2019-08-06 20:41:21.0 +0200
+++ new/flaky-3.7.0/PKG-INFO2020-07-08 23:31:59.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.2
 Name: flaky
-Version: 3.6.1
+Version: 3.7.0
 Summary: Plugin for nose or pytest that automatically reruns flaky tests.
 Home-page: https://github.com/box/flaky
 Author: Box
@@ -9,7 +9,7 @@
 Description: flaky
 =
 
-.. image:: http://opensource.box.com/badges/active.svg
+.. image:: http://opensource.box.com/badges/stable.svg
 :target: http://opensource.box.com/badges
 
 .. image:: https://travis-ci.org/box/flaky.svg?branch=master
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/flaky-3.6.1/README.rst new/flaky-3.7.0/README.rst
--- old/flaky-3.6.1/README.rst  2019-06-24 19:05:14.0 +0200
+++ new/flaky-3.7.0/README.rst  2020-07-08 23:28:17.0 +0200
@@ -1,7 +1,7 @@
 flaky
 =
 
-.. image:: http://opensource.box.com/badges/active.svg
+.. image:: http://opensource.box.com/badges/stable.svg
 :target: http://opensource.box.com/badges
 
 .. image:: https://travis-ci.org/box/flaky.svg?branch=master
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/flaky-3.6.1/flaky/flaky_pytest_plugin.py 
new/flaky-3.7.0/flaky/flaky_pytest_plugin.py
--- old/flaky-3.6.1/flaky/flaky_pytest_plugin.py2019-08-06 
20:25:51.0 +0200
+++ new/flaky-3.7.0/flaky/flaky_pytest_plugin.py2020-07-08 
04:15:30.0 +0200
@@ -46,7 +46,9 @@
 min_passes = None
 config = None
 _call_infos = {}
+_PYTEST_WHEN_SETUP = 'setup'
 _PYTEST_WHEN_CALL = 'call'
+_PYTEST_WHENS = (_PYTEST_WHEN_SETUP, _PYTEST_WHEN_CALL)
 _PYTEST_OUTCOME_PASSED = 'passed'
 _PYTEST_OUTCOME_FAILED = 'failed'
 _PYTEST_EMPTY_STATUS = ('', '', '')
@@ -90,17 +92,24 @@
 self.runner.call_and_report = self.call_and_report
 while should_rerun:
 self.runner.pytest_runtest_protocol(item, nextitem)
-call_info = self._call_infos.get(item, 
{}).get(self._PYTEST_WHEN_CALL, None)
+call_info = None
+excinfo = None
+for when in self._PYTEST_WHENS:
+call_info = self._call_infos.get(item, {}).get(when, None)
+excinfo = getattr(call_info, 'excinfo', None)
+if excinfo is not None:
+break
+
 if call_info is None:
 return False
-passed = call_info.excinfo is None
+passed =

commit python-flaky for openSUSE:Factory

2020-02-03 Thread root
Hello community,

here is the log from the commit of package python-flaky for openSUSE:Factory 
checked in at 2020-02-03 11:12:16

Comparing /work/SRC/openSUSE:Factory/python-flaky (Old)
 and  /work/SRC/openSUSE:Factory/.python-flaky.new.26092 (New)


Package is "python-flaky"

Mon Feb  3 11:12:16 2020 rev:6 rq:768995 version:3.6.1

Changes:

--- /work/SRC/openSUSE:Factory/python-flaky/python-flaky.changes
2019-09-23 12:09:11.877887660 +0200
+++ /work/SRC/openSUSE:Factory/.python-flaky.new.26092/python-flaky.changes 
2020-02-03 11:12:29.445819836 +0100
@@ -1,0 +2,8 @@
+Fri Jan 31 01:54:06 UTC 2020 - Stefan Brüns 
+
+- Add required suffix to package name for test package. Although
+  no binary package is created, the OBS blocks any dependent
+  packages until also the test package has been built (Giveaway:
+  main and test flavor create the same .src.rpm)
+
+---



Other differences:
--
++ python-flaky.spec ++
--- /var/tmp/diff_new_pack.sIVO6z/_old  2020-02-03 11:12:30.029820131 +0100
+++ /var/tmp/diff_new_pack.sIVO6z/_new  2020-02-03 11:12:30.033820133 +0100
@@ -22,10 +22,9 @@
 %define psuffix -test
 %bcond_without test
 %else
-%define psuffix %{nil}
 %bcond_with test
 %endif
-Name:   python-flaky
+Name:   python-flaky%{?psuffix}
 Version:3.6.1
 Release:0
 Summary:Plugin for nose or py.test that automatically reruns flaky 
tests




commit python-flaky for openSUSE:Factory

2019-09-23 Thread root
Hello community,

here is the log from the commit of package python-flaky for openSUSE:Factory 
checked in at 2019-09-23 12:09:10

Comparing /work/SRC/openSUSE:Factory/python-flaky (Old)
 and  /work/SRC/openSUSE:Factory/.python-flaky.new.7948 (New)


Package is "python-flaky"

Mon Sep 23 12:09:10 2019 rev:5 rq:730399 version:3.6.1

Changes:

--- /work/SRC/openSUSE:Factory/python-flaky/python-flaky.changes
2019-07-31 14:15:48.522739425 +0200
+++ /work/SRC/openSUSE:Factory/.python-flaky.new.7948/python-flaky.changes  
2019-09-23 12:09:11.877887660 +0200
@@ -1,0 +2,6 @@
+Thu Sep 12 12:33:03 UTC 2019 - Tomáš Chvátal 
+
+- Update to 3.6.1:
+  * Reraise KeyboardInterrupt when running tests under pytest.
+
+---

Old:

  flaky-3.6.0.tar.gz

New:

  flaky-3.6.1.tar.gz



Other differences:
--
++ python-flaky.spec ++
--- /var/tmp/diff_new_pack.xdO6fh/_old  2019-09-23 12:09:12.409887572 +0200
+++ /var/tmp/diff_new_pack.xdO6fh/_new  2019-09-23 12:09:12.413887571 +0200
@@ -26,13 +26,17 @@
 %bcond_with test
 %endif
 Name:   python-flaky
-Version:3.6.0
+Version:3.6.1
 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
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
+BuildArch:  noarch
 %if %{with test}
 BuildRequires:  %{python_module flaky >= %{version}}
 BuildRequires:  %{python_module genty}
@@ -40,10 +44,6 @@
 BuildRequires:  %{python_module nose}
 BuildRequires:  %{python_module pytest}
 %endif
-BuildRequires:  %{python_module setuptools}
-BuildRequires:  fdupes
-BuildRequires:  python-rpm-macros
-BuildArch:  noarch
 %python_subpackages
 
 %description

++ flaky-3.6.0.tar.gz -> flaky-3.6.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/flaky-3.6.0/PKG-INFO new/flaky-3.6.1/PKG-INFO
--- old/flaky-3.6.0/PKG-INFO2019-06-25 18:47:28.0 +0200
+++ new/flaky-3.6.1/PKG-INFO2019-08-06 20:41:21.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.2
 Name: flaky
-Version: 3.6.0
+Version: 3.6.1
 Summary: Plugin for nose or pytest that automatically reruns flaky tests.
 Home-page: https://github.com/box/flaky
 Author: Box
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/flaky-3.6.0/flaky/flaky_pytest_plugin.py 
new/flaky-3.6.1/flaky/flaky_pytest_plugin.py
--- old/flaky-3.6.0/flaky/flaky_pytest_plugin.py2019-01-10 
19:58:28.0 +0100
+++ new/flaky-3.6.1/flaky/flaky_pytest_plugin.py2019-08-06 
20:25:51.0 +0200
@@ -2,7 +2,7 @@
 
 from __future__ import unicode_literals
 
-from _pytest.runner import CallInfo  # pylint:disable=import-error
+from _pytest.runner import call_runtest_hook  # pylint:disable=import-error
 
 from flaky._flaky_plugin import _FlakyPlugin
 from flaky.utils import ensure_unicode_string
@@ -126,7 +126,8 @@
 :type log:
 `bool`
 """
-call = self.call_runtest_hook(item, when, **kwds)
+call = call_runtest_hook(item, when, **kwds)
+self._call_infos[item][when] = call
 hook = item.ihook
 report = hook.pytest_runtest_makereport(item=item, call=call)
 # Start flaky modifications
@@ -289,26 +290,6 @@
 test_instance = item.parent.obj
 return test_instance
 
-def call_runtest_hook(self, item, when, **kwds):
-"""
-Monkey patched from the runner plugin. Responsible for running
-the test. Had to be patched to pass additional info to the
-CallInfo so the tests can be rerun if necessary.
-
-:param item:
-pytest wrapper for the test function to be run
-:type item:
-:class:`Function`
-"""
-hookname = "pytest_runtest_" + when
-ihook = getattr(item.ihook, hookname)
-call_info = getattr(CallInfo, "from_call", CallInfo)(
-lambda: ihook(item=item, **kwds),
-when=when,
-)
-self._call_infos[item][when] = call_info
-return call_info
-
 def add_success(self, item):
 """
 Called when a test succeeds.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/flaky-3.6.0/flaky.egg-info/PKG-INFO 
new/flaky-3.6.1/flaky.egg-info/PKG-INFO
--- old/flaky-3.6.0/flaky.egg-info/PKG-INFO 2019-06-25 18:47:28.0

commit python-flaky for openSUSE:Factory

2019-07-31 Thread root
Hello community,

here is the log from the commit of package python-flaky for openSUSE:Factory 
checked in at 2019-07-31 14:15:46

Comparing /work/SRC/openSUSE:Factory/python-flaky (Old)
 and  /work/SRC/openSUSE:Factory/.python-flaky.new.4126 (New)


Package is "python-flaky"

Wed Jul 31 14:15:46 2019 rev:4 rq:718853 version:3.6.0

Changes:

--- /work/SRC/openSUSE:Factory/python-flaky/python-flaky.changes
2019-03-29 20:34:17.034631063 +0100
+++ /work/SRC/openSUSE:Factory/.python-flaky.new.4126/python-flaky.changes  
2019-07-31 14:15:48.522739425 +0200
@@ -1,0 +2,9 @@
+Fri Jul 26 10:48:12 UTC 2019 - pgaj...@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
+
+---

Old:

  flaky-3.5.3.tar.gz

New:

  _multibuild
  flaky-3.6.0.tar.gz



Other differences:
--
++ python-flaky.spec ++
--- /var/tmp/diff_new_pack.UTDFAy/_old  2019-07-31 14:15:49.090738375 +0200
+++ /var/tmp/diff_new_pack.UTDFAy/_new  2019-07-31 14:15:49.094738367 +0200
@@ -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 @@
 %prep
 %setup -q -n flaky-%{version}
 
+%if !%{with test}
 %build
 %python_build
+%endif
 
+%if !%{with test}
 %install
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
+%endif
 
+%if %{with test}
+%check
+%{python_expand echo
+nosetests="nosetests-%{$python_bin_suffix}"
+pytest="pytest-%{$python_bin_suffix}"
+$nosetests --with-flaky --exclude="test_nose_options_example" 
test/test_nose/
+$pytest-k 'example and not options' --doctest-modules test/test_pytest/
+$pytest-k 'example and not options' test/test_pytest/
+$pytest-p no:flaky test/test_pytest/test_flaky_pytest_plugin.py
+$nosetests --with-flaky --force-flaky --max-runs 2 
test/test_nose/test_nose_options_example.py
+$pytest--force-flaky --max-runs 2  
test/test_pytest/test_pytest_options_example.py
+}
+%endif
+
+%if !%{with test}
 %files %{python_files}
 %doc README.rst
 %license LICENSE
 %{python_sitelib}/*
+%endif
 
 %changelog

++ _multibuild ++

  test

++ flaky-3.5.3.tar.gz -> flaky-3.6.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/flaky-3.5.3/MANIFEST.in new/flaky-3.6.0/MANIFEST.in
--- old/flaky-3.5.3/MANIFEST.in 2019-01-07 20:05:58.0 +0100
+++ new/flaky-3.6.0/MANIFEST.in 2019-06-24 19:05:14.0 +0200
@@ -1,2 +1,2 @@
 include README.rst LICENSE
-recursive-include test test*.py __init__.py
+recursive-include test test*.py __init__.py conftest.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/flaky-3.5.3/PKG-INFO new/flaky-3.6.0/PKG-INFO
--- old/flaky-3.5.3/PKG-INFO2019-01-17 01:06:33.0 +0100
+++ new/flaky-3.6.0/PKG-INFO2019-06-25 18:47:28.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.2
 Name: flaky
-Version: 3.5.3
+Version: 3.6.0
 Summary: Plugin for nose or pytest that automatically reruns flaky tests.
 Home-page: https://github.com/box/flaky
 Author: Box
@@ -107,7 +107,7 @@
 def test_something_else():
 raise ProductCrashedError
 
-Flaky will run `test_something` twice, but will only run 
`test_something_else` once.
+Flaky will run ``test_something`` twice, but will only run 
``test_something_else`` once.
 
 It can also be used to incur a delay between test retries:
 
@@ -179,7 +179,7 @@
 
 - Nosetests. Doctests cannot be marked flaky.
 
-- Py.te

commit python-flaky for openSUSE:Factory

2019-03-29 Thread root
Hello community,

here is the log from the commit of package python-flaky for openSUSE:Factory 
checked in at 2019-03-29 20:34:09

Comparing /work/SRC/openSUSE:Factory/python-flaky (Old)
 and  /work/SRC/openSUSE:Factory/.python-flaky.new.25356 (New)


Package is "python-flaky"

Fri Mar 29 20:34:09 2019 rev:3 rq:684398 version:3.5.3

Changes:

--- /work/SRC/openSUSE:Factory/python-flaky/python-flaky.changes
2017-11-12 18:00:25.325024375 +0100
+++ /work/SRC/openSUSE:Factory/.python-flaky.new.25356/python-flaky.changes 
2019-03-29 20:34:17.034631063 +0100
@@ -1,0 +2,10 @@
+Tue Mar 12 15:24:55 UTC 2019 - Tomáš Chvátal 
+
+- Update to 3.5.3:
+  * Bugfixes - Flaky is now compatible with pytest >= 4.1.
+  * Officially support and test on Python 3.6 and 3.7.
+  * Adds a pytest marker that can be used instead of `@flaky.
+  * Replaced references to 'slaveoutput', where possible with 'workeroutput', 
following the convention chosen by pytest.
+  * Prints formatted tracebacks in the flaky report when using nose.
+
+---

Old:

  flaky-3.4.0.tar.gz

New:

  flaky-3.5.3.tar.gz



Other differences:
--
++ python-flaky.spec ++
--- /var/tmp/diff_new_pack.SjgmWO/_old  2019-03-29 20:34:17.590631096 +0100
+++ /var/tmp/diff_new_pack.SjgmWO/_new  2019-03-29 20:34:17.594631097 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-flaky
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,24 +12,27 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-flaky
-Version:3.4.0
+Version:3.5.3
 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
+URL:https://github.com/box/flaky
 Source: 
https://files.pythonhosted.org/packages/source/f/flaky/flaky-%{version}.tar.gz
+BuildRequires:  %{python_module genty}
+BuildRequires:  %{python_module mock}
+BuildRequires:  %{python_module nose}
+BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildArch:  noarch
-
 %python_subpackages
 
 %description
@@ -49,9 +52,11 @@
 
 %install
 %python_install
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %files %{python_files}
-%defattr(-,root,root,-)
+%doc README.rst
+%license LICENSE
 %{python_sitelib}/*
 
 %changelog

++ flaky-3.4.0.tar.gz -> flaky-3.5.3.tar.gz ++
 1742 lines of diff (skipped)




commit python-flaky for openSUSE:Factory

2017-11-12 Thread root
Hello community,

here is the log from the commit of package python-flaky for openSUSE:Factory 
checked in at 2017-11-12 18:00:21

Comparing /work/SRC/openSUSE:Factory/python-flaky (Old)
 and  /work/SRC/openSUSE:Factory/.python-flaky.new (New)


Package is "python-flaky"

Sun Nov 12 18:00:21 2017 rev:2 rq:540465 version:3.4.0

Changes:

--- /work/SRC/openSUSE:Factory/python-flaky/python-flaky.changes
2017-04-13 10:45:05.413256371 +0200
+++ /work/SRC/openSUSE:Factory/.python-flaky.new/python-flaky.changes   
2017-11-12 18:00:25.325024375 +0100
@@ -1,0 +2,10 @@
+Thu Nov  9 06:10:34 UTC 2017 - a...@gmx.de
+
+- specfile:
+  * update copyright year
+
+- update to version 3.4.0:
+  * Bugfixes - Flaky for pytest will no longer silently swallow errors
+that occur during test setup.
+
+---

Old:

  flaky-3.3.0.tar.gz

New:

  flaky-3.4.0.tar.gz



Other differences:
--
++ python-flaky.spec ++
--- /var/tmp/diff_new_pack.W8nsdP/_old  2017-11-12 18:00:26.668975422 +0100
+++ /var/tmp/diff_new_pack.W8nsdP/_new  2017-11-12 18:00:26.672975277 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-flaky
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -13,19 +13,20 @@
 # published by the Open Source Initiative.
 
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
+#
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-flaky
-Version:3.3.0
+Version:3.4.0
 Release:0
-License:Apache-2.0
 Summary:Plugin for nose or py.test that automatically reruns flaky 
tests
-Url:https://github.com/box/flaky
+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
-BuildRequires:  python-rpm-macros
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  python-rpm-macros
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildArch:  noarch
 

++ flaky-3.3.0.tar.gz -> flaky-3.4.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/flaky-3.3.0/PKG-INFO new/flaky-3.4.0/PKG-INFO
--- old/flaky-3.3.0/PKG-INFO2016-07-28 18:31:18.0 +0200
+++ new/flaky-3.4.0/PKG-INFO2017-06-15 18:38:14.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: flaky
-Version: 3.3.0
+Version: 3.4.0
 Summary: Plugin for nose or py.test that automatically reruns flaky tests.
 Home-page: https://github.com/box/flaky
 Author: Box
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/flaky-3.3.0/flaky/_flaky_plugin.py 
new/flaky-3.4.0/flaky/_flaky_plugin.py
--- old/flaky-3.3.0/flaky/_flaky_plugin.py  2016-07-21 23:33:37.0 
+0200
+++ new/flaky-3.4.0/flaky/_flaky_plugin.py  2017-06-15 18:13:14.0 
+0200
@@ -190,9 +190,8 @@
 self._log_intermediate_failure(err, flaky_attributes, name)
 self._mark_test_for_rerun(test)
 return True
-else:
-self._log_test_failure(name, err, self._not_rerun_message)
-return False
+self._log_test_failure(name, err, self._not_rerun_message)
+return False
 else:
 flaky_attributes = self._get_flaky_attributes(test)
 self._report_final_failure(err, flaky_attributes, name)
@@ -351,7 +350,7 @@
 '--max-runs',
 action="store",
 dest="max_runs",
-type="int",
+type=int,
 default=2,
 help="If --force-flaky is specified, we will run each test at "
  "most this many times (unless the test has its own flaky "
@@ -361,7 +360,7 @@
 '--min-passes',
 action="store",
 dest="min_passes",
-type="int",
+type=int,
 default=1,
 help="If --force-flaky is specified, we will run each test at "
  "least this many times (unless the test has its own flaky "
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/flaky-3.3.0/flaky/flaky_nose_plugin.py 
new/flaky-3.4.0/flaky/flaky_nose_plugin.py
--- old/flaky-3.3.0/flaky/flaky_nose_plugin.py  2016-07-28 18:08:32.0 
+0200