Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-backoff for openSUSE:Factory 
checked in at 2022-10-14 15:41:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-backoff (Old)
 and      /work/SRC/openSUSE:Factory/.python-backoff.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-backoff"

Fri Oct 14 15:41:17 2022 rev:5 rq:1010357 version:2.2.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-backoff/python-backoff.changes    
2020-01-18 12:19:00.595167185 +0100
+++ /work/SRC/openSUSE:Factory/.python-backoff.new.2275/python-backoff.changes  
2022-10-14 15:41:58.375861655 +0200
@@ -1,0 +2,21 @@
+Thu Oct 13 06:36:05 UTC 2022 - Adrian Schr??ter <adr...@suse.de>
+
+- update to version 2.2.1
+  - Fix type hint for wait generators 
https://github.com/litl/backoff/issues/177
+  - Improve type annotation for wait generators from @hauntsaninja
+  - Include exception in details dict of call handlers from @petamas
+  - Improve type hints for call handlers from @cdce8p
+  - Don't use importlib.metadata for __version__ 
https://github.com/litl/backoff/issues/166
+  - Fix bug with max_tries/max_time callables 
https://github.com/litl/backoff/issues/164
+  - Get max_tries/max_time values for every call fixes #160 (from 
@jvrsantacruz)
+  - Allow None for jitter keyword arg (typing)
+  - Add raise_on_giveup keyword arg for decorators
+  - Add backoff.runtime wait generator for dynamically setting wait times based
+    on target function return value or exception details
+  - Improve type hints for on_success, on_backoff, on_giveup handlers
+  - Use decorator-specific detail and handler type hints
+  - Optionally use typing_extensions for python 3.7 type hinting
+  - Drop python 3.6 support
+  - Add python 3.10 support
+
+-------------------------------------------------------------------

Old:
----
  backoff-1.10.0.tar.gz
  tests.tar.bz2

New:
----
  backoff-2.2.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-backoff.spec ++++++
--- /var/tmp/diff_new_pack.NRsLNG/_old  2022-10-14 15:41:58.867862476 +0200
+++ /var/tmp/diff_new_pack.NRsLNG/_new  2022-10-14 15:41:58.871862483 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-backoff
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,22 +18,26 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-backoff
-Version:        1.10.0
+Version:        2.2.1
 Release:        0
 Summary:        Function decoration for backoff and retry
 License:        MIT
 Group:          Development/Languages/Python
 URL:            https://github.com/litl/backoff
 Source0:        
https://files.pythonhosted.org/packages/source/b/backoff/backoff-%{version}.tar.gz
-# https://github.com/litl/backoff/issues/75
-# github repo does not have setup.py
-Source1:        tests.tar.bz2
+BuildRequires:  %{python_module pip}
+BuildRequires:  %{python_module poetry}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 BuildArch:      noarch
 # SECTION test requirements
 BuildRequires:  %{python_module pytest}
+BuildRequires:  %{python_module pytest-asyncio}
+BuildRequires:  %{python_module pytest-cov}
+BuildRequires:  %{python_module requests}
+BuildRequires:  %{python_module responses}
 # /SECTION
 %python_subpackages
 
@@ -50,18 +54,16 @@
 for asynchronous code.
 
 %prep
-%setup -q -n backoff-%{version} -a1
+%setup -q -n backoff-%{version}
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-# will not work with python 2.7
-rm -r tests/python35
 %pytest
 
 %files %{python_files}

++++++ backoff-1.10.0.tar.gz -> backoff-2.2.1.tar.gz ++++++
++++ 3405 lines of diff (skipped)

Reply via email to