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

@@ -1,3 +1,25 @@
-------------------------------------------------------------------
Thu Oct 11 11:56:31 UTC 2018 - Dirk Mueller <dmueller@suse.com>
- 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
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jan 10 22:24:53 UTC 2018 - jengelh@inai.de Wed Jan 10 22:24:53 UTC 2018 - jengelh@inai.de

View File

@@ -12,14 +12,14 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # 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-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without test %bcond_without test
Name: python-tenacity Name: python-tenacity
Version: 4.8.0 Version: 4.12.0
Release: 0 Release: 0
Summary: Retry code until it succeeeds Summary: Retry code until it succeeeds
License: Apache-2.0 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 devel}
BuildRequires: %{python_module monotonic >= 0.6} BuildRequires: %{python_module monotonic >= 0.6}
BuildRequires: %{python_module pbr} BuildRequires: %{python_module pbr}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six >= 1.7.0} BuildRequires: %{python_module six >= 1.7.0}
BuildRequires: fdupes BuildRequires: fdupes
@@ -72,12 +73,13 @@ Features
%if %{with test} %if %{with test}
%check %check
%python_exec setup.py nosetests --ignore-files '.*async.py' %python_exec setup.py nosetests --ignore-files '.*asyncio.py'
%endif %endif
%files %{python_files} %files %{python_files}
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc AUTHORS ChangeLog LICENSE README.rst %license LICENSE
%doc ChangeLog README.rst
%{python_sitelib}/* %{python_sitelib}/*
%changelog %changelog

3
tenacity-4.12.0.tar.gz Normal file
View File

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

View File

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