From a11c0c2e4be6689a8e05e65e2bea587b4b465b19f3907d7d2214b00c853450e2 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 11 Oct 2018 12:05:34 +0000 Subject: [PATCH] - 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 --- python-tenacity.changes | 22 ++++++++++++++++++++++ python-tenacity.spec | 10 ++++++---- tenacity-4.12.0.tar.gz | 3 +++ tenacity-4.8.0.tar.gz | 3 --- 4 files changed, 31 insertions(+), 7 deletions(-) create mode 100644 tenacity-4.12.0.tar.gz delete mode 100644 tenacity-4.8.0.tar.gz diff --git a/python-tenacity.changes b/python-tenacity.changes index b773c5f..87b3811 100644 --- a/python-tenacity.changes +++ b/python-tenacity.changes @@ -1,3 +1,25 @@ +------------------------------------------------------------------- +Thu Oct 11 11:56:31 UTC 2018 - Dirk Mueller + +- 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 diff --git a/python-tenacity.spec b/python-tenacity.spec index 4f79390..fbd24fc 100644 --- a/python-tenacity.spec +++ b/python-tenacity.spec @@ -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 diff --git a/tenacity-4.12.0.tar.gz b/tenacity-4.12.0.tar.gz new file mode 100644 index 0000000..9c23256 --- /dev/null +++ b/tenacity-4.12.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dcd7646fe731b21b73870ead85a965a4202abeaf56e0588e6a8b38375110098f +size 30015 diff --git a/tenacity-4.8.0.tar.gz b/tenacity-4.8.0.tar.gz deleted file mode 100644 index 0f4207c..0000000 --- a/tenacity-4.8.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f144a1cdbef3ca2f8a08ead74864d4fc26ea31c64806ca8ae030acb652629d9d -size 28057