14
0

Accepting request 726743 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/726743
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tenacity?expand=0&rev=9
This commit is contained in:
2019-08-28 16:38:24 +00:00
committed by Git OBS Bridge
4 changed files with 17 additions and 9 deletions

View File

@@ -1,3 +1,12 @@
-------------------------------------------------------------------
Wed Aug 28 11:46:28 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com>
- 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 <mcalabkova@suse.com>

View File

@@ -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

View File

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

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

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