From 57ac2c6a2c49205ccb52068054c4f464ddcfc8ddd8e7e425bc4b966b1b18b528 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 28 Aug 2019 11:59:18 +0000 Subject: [PATCH] Accepting request 726742 from home:mcalabkova:branches:devel:languages:python - update to 5.1.1 * upstream switched to reno, so no upstream changelog * Use setuptools_scm for packaging * Drop Python 3.4 * Reduce wait_exponential power by 1 so first wait is equal to multiplier OBS-URL: https://build.opensuse.org/request/show/726742 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tenacity?expand=0&rev=23 --- python-tenacity.changes | 9 +++++++++ python-tenacity.spec | 11 +++++------ tenacity-5.0.4.tar.gz | 3 --- tenacity-5.1.1.tar.gz | 3 +++ 4 files changed, 17 insertions(+), 9 deletions(-) delete mode 100644 tenacity-5.0.4.tar.gz create mode 100644 tenacity-5.1.1.tar.gz diff --git a/python-tenacity.changes b/python-tenacity.changes index 9d8d0ab..5b40c34 100644 --- a/python-tenacity.changes +++ b/python-tenacity.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Wed Aug 28 11:46:28 UTC 2019 - Marketa Calabkova + +- update to 5.1.1 + * upstream switched to reno, so no upstream changelog + * Use setuptools_scm for packaging + * Drop Python 3.4 + * Reduce wait_exponential power by 1 so first wait is equal to multiplier + ------------------------------------------------------------------- Thu Apr 18 14:58:39 UTC 2019 - Marketa Calabkova diff --git a/python-tenacity.spec b/python-tenacity.spec index 55e0e58..90663e3 100644 --- a/python-tenacity.spec +++ b/python-tenacity.spec @@ -19,15 +19,14 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %bcond_without test Name: python-tenacity -Version: 5.0.4 +Version: 5.1.1 Release: 0 Summary: Python module for retrying code until it succeeeds License: Apache-2.0 Group: Development/Languages/Python URL: https://github.com/jd/tenacity Source: https://files.pythonhosted.org/packages/source/t/tenacity/tenacity-%{version}.tar.gz -BuildRequires: %{python_module pbr} -BuildRequires: %{python_module pytest} +BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six >= 1.9.0} BuildRequires: fdupes @@ -35,7 +34,7 @@ BuildRequires: python-rpm-macros BuildRequires: python2-futures >= 3.0 BuildRequires: python2-monotonic >= 0.6 %if %{with test} -BuildRequires: %{python_module nose} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module tornado} %endif Requires: python-six >= 1.9.0 @@ -75,12 +74,12 @@ Features %if %{with test} %check -%python_exec setup.py nosetests --ignore-files '.*asyncio.py' +%pytest --ignore tenacity/tests/test_asyncio.py %endif %files %{python_files} %license LICENSE -%doc ChangeLog README.rst +%doc README.rst %{python_sitelib}/* %changelog diff --git a/tenacity-5.0.4.tar.gz b/tenacity-5.0.4.tar.gz deleted file mode 100644 index 761abca..0000000 --- a/tenacity-5.0.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a0c3c5f7ae0c33f5556c775ca059c12d6fd8ab7121613a713e8b7d649908571b -size 41271 diff --git a/tenacity-5.1.1.tar.gz b/tenacity-5.1.1.tar.gz new file mode 100644 index 0000000..15cf351 --- /dev/null +++ b/tenacity-5.1.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a4eb168dbf55ed2cae27e7c6b2bd48ab54dabaf294177d998330cf59f294c112 +size 31119