14
0

- update to 4.12.0:

* add retry\_error\_callback param
  * Fix Mergify conf
  * Enable mergify
  * Implement before\_sleep logging hook
  * Rename tenacity.async to tenacity.\_asyncio
  * Remove useless install of nose
  * Switch to pytest
  * Fix codeblock formatting
  * Document how to use Trio/curio
  * Catch BaseException rather than just Exception
  * Fix pep8 errors
  * Only install monotonic on Python 2
  * Stop using pbr to build documentation
  * Add \`license\` key to \`setup.cfg\`
  * Avoid inspect.getargspec deprecation warning
  * Don't fall over if an old version of tornado is installed
  * Allow to specify RetryError

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tenacity?expand=0&rev=14
This commit is contained in:
2018-10-11 12:05:34 +00:00
committed by Git OBS Bridge
parent e050e0b536
commit a11c0c2e4b
4 changed files with 31 additions and 7 deletions

View File

@@ -12,14 +12,14 @@
# 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-%{**}}
%bcond_without test
Name: python-tenacity
Version: 4.8.0
Version: 4.12.0
Release: 0
Summary: Retry code until it succeeeds
License: Apache-2.0
@@ -29,6 +29,7 @@ Source: https://files.pythonhosted.org/packages/source/t/tenacity/tenaci
BuildRequires: %{python_module devel}
BuildRequires: %{python_module monotonic >= 0.6}
BuildRequires: %{python_module pbr}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six >= 1.7.0}
BuildRequires: fdupes
@@ -72,12 +73,13 @@ Features
%if %{with test}
%check
%python_exec setup.py nosetests --ignore-files '.*async.py'
%python_exec setup.py nosetests --ignore-files '.*asyncio.py'
%endif
%files %{python_files}
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog LICENSE README.rst
%license LICENSE
%doc ChangeLog README.rst
%{python_sitelib}/*
%changelog