Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-tenacity for openSUSE:Factory checked in at 2024-06-10 17:37:51 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-tenacity (Old) and /work/SRC/openSUSE:Factory/.python-tenacity.new.19518 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-tenacity" Mon Jun 10 17:37:51 2024 rev:21 rq:1179634 version:8.3.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-tenacity/python-tenacity.changes 2023-11-27 22:45:15.333995907 +0100 +++ /work/SRC/openSUSE:Factory/.python-tenacity.new.19518/python-tenacity.changes 2024-06-10 17:38:07.000025967 +0200 @@ -1,0 +2,14 @@ +Mon Jun 10 07:49:32 UTC 2024 - Dirk Müller <dmuel...@suse.com> + +- update to 8.3.0: + * Added a new stop function: `stop_before_delay`, which will + stop execution if the next sleep time would cause overall + delay to exceed the specified delay. Useful for use cases + where you have some upper bound on retry times that you must + not exceed, so returning before that timeout is preferable + than returning after that timeout. + * Preserve __defaults__ and __kwdefaults__ through retry + decorator +- use PEP517 build + +------------------------------------------------------------------- Old: ---- tenacity-8.2.3.tar.gz New: ---- tenacity-8.3.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-tenacity.spec ++++++ --- /var/tmp/diff_new_pack.eFefZW/_old 2024-06-10 17:38:07.736053195 +0200 +++ /var/tmp/diff_new_pack.eFefZW/_new 2024-06-10 17:38:07.740053343 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-tenacity # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,19 +18,21 @@ %{?sle15_python_module_pythons} Name: python-tenacity -Version: 8.2.3 +Version: 8.3.0 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 pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module tornado} BuildRequires: %{python_module typeguard} BuildRequires: %{python_module typing-extensions} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Recommends: python-tornado @@ -53,10 +55,10 @@ %setup -q -n tenacity-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -66,5 +68,5 @@ %license LICENSE %doc README.rst %{python_sitelib}/tenacity -%{python_sitelib}/tenacity-*egg-info +%{python_sitelib}/tenacity-%{version}.dist-info ++++++ tenacity-8.2.3.tar.gz -> tenacity-8.3.0.tar.gz ++++++ ++++ 2075 lines of diff (skipped)