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 2025-11-10 19:18:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-tenacity (Old)
and /work/SRC/openSUSE:Factory/.python-tenacity.new.1980 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-tenacity"
Mon Nov 10 19:18:40 2025 rev:26 rq:1316811 version:9.1.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-tenacity/python-tenacity.changes
2024-09-09 14:45:27.721239409 +0200
+++
/work/SRC/openSUSE:Factory/.python-tenacity.new.1980/python-tenacity.changes
2025-11-10 19:19:18.997314150 +0100
@@ -1,0 +2,10 @@
+Mon Nov 10 08:12:30 UTC 2025 - Dirk Mรผller <[email protected]>
+
+- update to 9.1.2:
+ * Test with Python 3.13
+ * ci: remove Python 3.8 support
+ * fix: return "Self" from "BaseRetrying.copy"
+ * ci: upload on PyPI using trusted publishing
+ * Add re.Pattern to allowed match types
+
+-------------------------------------------------------------------
Old:
----
tenacity-9.0.0.tar.gz
New:
----
tenacity-9.1.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-tenacity.spec ++++++
--- /var/tmp/diff_new_pack.V8gdCo/_old 2025-11-10 19:19:19.533336606 +0100
+++ /var/tmp/diff_new_pack.V8gdCo/_new 2025-11-10 19:19:19.537336773 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-tenacity
#
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-tenacity
-Version: 9.0.0
+Version: 9.1.2
Release: 0
Summary: Python module for retrying code until it succeeeds
License: Apache-2.0
++++++ tenacity-9.0.0.tar.gz -> tenacity-9.1.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/tenacity-9.0.0/.github/workflows/ci.yaml
new/tenacity-9.1.2/.github/workflows/ci.yaml
--- old/tenacity-9.0.0/.github/workflows/ci.yaml 2024-07-29
14:12:16.000000000 +0200
+++ new/tenacity-9.1.2/.github/workflows/ci.yaml 2025-04-02
10:24:53.000000000 +0200
@@ -14,12 +14,10 @@
jobs:
test:
timeout-minutes: 20
- runs-on: ubuntu-20.04
+ runs-on: ubuntu-24.04
strategy:
matrix:
include:
- - python: "3.8"
- tox: py38
- python: "3.9"
tox: py39
- python: "3.10"
@@ -27,19 +25,21 @@
- python: "3.11"
tox: py311
- python: "3.12"
- tox: py312,py312-trio
+ tox: py312
- python: "3.12"
tox: pep8
+ - python: "3.13"
+ tox: py313,py313-trio
- python: "3.11"
tox: mypy
steps:
- name: Checkout ๐๏ธ
- uses: actions/[email protected]
+ uses: actions/[email protected]
with:
fetch-depth: 0
- name: Setup Python ๐ง
- uses: actions/[email protected]
+ uses: actions/[email protected]
with:
python-version: ${{ matrix.python }}
allow-prereleases: true
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/tenacity-9.0.0/.github/workflows/deploy.yaml
new/tenacity-9.1.2/.github/workflows/deploy.yaml
--- old/tenacity-9.0.0/.github/workflows/deploy.yaml 2024-07-29
14:12:16.000000000 +0200
+++ new/tenacity-9.1.2/.github/workflows/deploy.yaml 1970-01-01
01:00:00.000000000 +0100
@@ -1,34 +0,0 @@
-name: Release deploy
-
-on:
- release:
- types:
- - published
-
-jobs:
- publish:
- timeout-minutes: 20
- runs-on: ubuntu-latest
- steps:
- - name: Checkout ๐๏ธ
- uses: actions/[email protected]
- with:
- fetch-depth: 0
-
- - name: Setup Python ๐ง
- uses: actions/[email protected]
- with:
- python-version: 3.11
-
- - name: Build ๐ง & Deploy ๐
- env:
- PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
- run: |
- pip install tox twine wheel
-
- echo -e "[pypi]" >> ~/.pypirc
- echo -e "username = __token__" >> ~/.pypirc
- echo -e "password = $PYPI_TOKEN" >> ~/.pypirc
-
- python setup.py sdist bdist_wheel
- twine upload dist/*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/tenacity-9.0.0/.github/workflows/release.yml
new/tenacity-9.1.2/.github/workflows/release.yml
--- old/tenacity-9.0.0/.github/workflows/release.yml 1970-01-01
01:00:00.000000000 +0100
+++ new/tenacity-9.1.2/.github/workflows/release.yml 2025-04-02
10:24:53.000000000 +0200
@@ -0,0 +1,34 @@
+name: upload release to PyPI
+on:
+ release:
+ types:
+ - published
+
+jobs:
+ pypi-publish:
+ name: upload release to PyPI
+ runs-on: ubuntu-latest
+ environment: release
+ permissions:
+ id-token: write
+ contents: write
+ steps:
+ - uses: actions/[email protected]
+ with:
+ fetch-depth: 0
+ fetch-tags: true
+
+ - uses: actions/[email protected]
+ with:
+ python-version: 3.13
+
+ - name: Install build
+ run: |
+ pip install setuptools-scm wheel
+
+ - name: Build
+ run: |
+ python setup.py sdist bdist_wheel
+
+ - name: Publish package distributions to PyPI
+ uses: pypa/gh-action-pypi-publish@release/v1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/tenacity-9.0.0/.mergify.yml
new/tenacity-9.1.2/.mergify.yml
--- old/tenacity-9.0.0/.mergify.yml 2024-07-29 14:12:16.000000000 +0200
+++ new/tenacity-9.1.2/.mergify.yml 2025-04-02 10:24:53.000000000 +0200
@@ -10,11 +10,11 @@
- files ~= ^releasenotes/notes/
- label = no-changelog
- author = dependabot[bot]
- - "check-success=test (3.8, py38)"
- "check-success=test (3.9, py39)"
- "check-success=test (3.10, py310)"
- "check-success=test (3.11, py311)"
- - "check-success=test (3.12, py312,py312-trio)"
+ - "check-success=test (3.12, py312)"
+ - "check-success=test (3.13, py313,py313-trio)"
- "check-success=test (3.12, pep8)"
pull_request_rules:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/tenacity-9.0.0/PKG-INFO new/tenacity-9.1.2/PKG-INFO
--- old/tenacity-9.0.0/PKG-INFO 2024-07-29 14:12:25.123712800 +0200
+++ new/tenacity-9.1.2/PKG-INFO 2025-04-02 10:24:56.308480500 +0200
@@ -1,6 +1,6 @@
-Metadata-Version: 2.1
+Metadata-Version: 2.4
Name: tenacity
-Version: 9.0.0
+Version: 9.1.2
Summary: Retry code until it succeeds
Home-page: https://github.com/jd/tenacity
Author: Julien Danjou
@@ -11,15 +11,21 @@
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
-Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
+Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Utilities
-Requires-Python: >=3.8
+Requires-Python: >=3.9
+License-File: LICENSE
Provides-Extra: doc
+Requires-Dist: reno; extra == "doc"
+Requires-Dist: sphinx; extra == "doc"
Provides-Extra: test
-License-File: LICENSE
+Requires-Dist: pytest; extra == "test"
+Requires-Dist: tornado>=4.5; extra == "test"
+Requires-Dist: typeguard; extra == "test"
+Dynamic: license-file
Tenacity is a general-purpose retrying library to simplify the task of adding
retry behavior to just about anything.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/tenacity-9.0.0/pyproject.toml
new/tenacity-9.1.2/pyproject.toml
--- old/tenacity-9.0.0/pyproject.toml 2024-07-29 14:12:16.000000000 +0200
+++ new/tenacity-9.1.2/pyproject.toml 2025-04-02 10:24:53.000000000 +0200
@@ -11,7 +11,7 @@
[tool.ruff]
line-length = 88
indent-width = 4
-target-version = "py38"
+target-version = "py39"
[tool.mypy]
strict = true
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/tenacity-9.0.0/releasenotes/notes/add-re-pattern-to-match-types-6a4c1d9e64e2a5e1.yaml
new/tenacity-9.1.2/releasenotes/notes/add-re-pattern-to-match-types-6a4c1d9e64e2a5e1.yaml
---
old/tenacity-9.0.0/releasenotes/notes/add-re-pattern-to-match-types-6a4c1d9e64e2a5e1.yaml
1970-01-01 01:00:00.000000000 +0100
+++
new/tenacity-9.1.2/releasenotes/notes/add-re-pattern-to-match-types-6a4c1d9e64e2a5e1.yaml
2025-04-02 10:24:53.000000000 +0200
@@ -0,0 +1,4 @@
+---
+fixes:
+ - |
+ Added `re.Pattern` to allowed match types.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/tenacity-9.0.0/setup.cfg new/tenacity-9.1.2/setup.cfg
--- old/tenacity-9.0.0/setup.cfg 2024-07-29 14:12:25.123712800 +0200
+++ new/tenacity-9.1.2/setup.cfg 2025-04-02 10:24:56.309480400 +0200
@@ -13,16 +13,16 @@
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3 :: Only
- Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
+ Programming Language :: Python :: 3.13
Topic :: Utilities
[options]
install_requires =
-python_requires = >=3.8
+python_requires = >=3.9
packages = find:
[options.packages.find]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/tenacity-9.0.0/tenacity/__init__.py
new/tenacity-9.1.2/tenacity/__init__.py
--- old/tenacity-9.0.0/tenacity/__init__.py 2024-07-29 14:12:16.000000000
+0200
+++ new/tenacity-9.1.2/tenacity/__init__.py 2025-04-02 10:24:53.000000000
+0200
@@ -76,7 +76,7 @@
from .after import after_log # noqa
from .after import after_nothing # noqa
-# Import all built-in after strategies for easier usage.
+# Import all built-in before sleep strategies for easier usage.
from .before_sleep import before_sleep_log # noqa
from .before_sleep import before_sleep_nothing # noqa
@@ -88,6 +88,8 @@
if t.TYPE_CHECKING:
import types
+ from typing_extensions import Self
+
from . import asyncio as tasyncio
from .retry import RetryBaseT
from .stop import StopBaseT
@@ -255,7 +257,7 @@
retry_error_callback: t.Union[
t.Optional[t.Callable[["RetryCallState"], t.Any]], object
] = _unset,
- ) -> "BaseRetrying":
+ ) -> "Self":
"""Copy this object with some parameters changed if needed."""
return self.__class__(
sleep=_first_set(sleep, self.sleep),
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/tenacity-9.0.0/tenacity/before_sleep.py
new/tenacity-9.1.2/tenacity/before_sleep.py
--- old/tenacity-9.0.0/tenacity/before_sleep.py 2024-07-29 14:12:16.000000000
+0200
+++ new/tenacity-9.1.2/tenacity/before_sleep.py 2025-04-02 10:24:53.000000000
+0200
@@ -25,7 +25,7 @@
def before_sleep_nothing(retry_state: "RetryCallState") -> None:
- """Before call strategy that does nothing."""
+ """Before sleep strategy that does nothing."""
def before_sleep_log(
@@ -33,7 +33,7 @@
log_level: int,
exc_info: bool = False,
) -> typing.Callable[["RetryCallState"], None]:
- """Before call strategy that logs to some logger the attempt."""
+ """Before sleep strategy that logs to some logger the attempt."""
def log_it(retry_state: "RetryCallState") -> None:
local_exc_info: BaseException | bool | None
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/tenacity-9.0.0/tenacity/retry.py
new/tenacity-9.1.2/tenacity/retry.py
--- old/tenacity-9.0.0/tenacity/retry.py 2024-07-29 14:12:16.000000000
+0200
+++ new/tenacity-9.1.2/tenacity/retry.py 2025-04-02 10:24:53.000000000
+0200
@@ -207,7 +207,7 @@
def __init__(
self,
message: typing.Optional[str] = None,
- match: typing.Optional[str] = None,
+ match: typing.Union[None, str, typing.Pattern[str]] = None,
) -> None:
if message and match:
raise TypeError(
@@ -242,7 +242,7 @@
def __init__(
self,
message: typing.Optional[str] = None,
- match: typing.Optional[str] = None,
+ match: typing.Union[None, str, typing.Pattern[str]] = None,
) -> None:
super().__init__(message, match)
# invert predicate
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/tenacity-9.0.0/tenacity.egg-info/PKG-INFO
new/tenacity-9.1.2/tenacity.egg-info/PKG-INFO
--- old/tenacity-9.0.0/tenacity.egg-info/PKG-INFO 2024-07-29
14:12:25.000000000 +0200
+++ new/tenacity-9.1.2/tenacity.egg-info/PKG-INFO 2025-04-02
10:24:56.000000000 +0200
@@ -1,6 +1,6 @@
-Metadata-Version: 2.1
+Metadata-Version: 2.4
Name: tenacity
-Version: 9.0.0
+Version: 9.1.2
Summary: Retry code until it succeeds
Home-page: https://github.com/jd/tenacity
Author: Julien Danjou
@@ -11,15 +11,21 @@
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
-Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
+Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Utilities
-Requires-Python: >=3.8
+Requires-Python: >=3.9
+License-File: LICENSE
Provides-Extra: doc
+Requires-Dist: reno; extra == "doc"
+Requires-Dist: sphinx; extra == "doc"
Provides-Extra: test
-License-File: LICENSE
+Requires-Dist: pytest; extra == "test"
+Requires-Dist: tornado>=4.5; extra == "test"
+Requires-Dist: typeguard; extra == "test"
+Dynamic: license-file
Tenacity is a general-purpose retrying library to simplify the task of adding
retry behavior to just about anything.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/tenacity-9.0.0/tenacity.egg-info/SOURCES.txt
new/tenacity-9.1.2/tenacity.egg-info/SOURCES.txt
--- old/tenacity-9.0.0/tenacity.egg-info/SOURCES.txt 2024-07-29
14:12:25.000000000 +0200
+++ new/tenacity-9.1.2/tenacity.egg-info/SOURCES.txt 2025-04-02
10:24:56.000000000 +0200
@@ -11,7 +11,7 @@
tox.ini
.github/dependabot.yml
.github/workflows/ci.yaml
-.github/workflows/deploy.yaml
+.github/workflows/release.yml
doc/source/api.rst
doc/source/changelog.rst
doc/source/conf.py
@@ -19,6 +19,7 @@
releasenotes/notes/Fix-tests-for-typeguard-3.x-6eebfea546b6207e.yaml
releasenotes/notes/Use--for-formatting-and-validate-using-black-39ec9d57d4691778.yaml
releasenotes/notes/add-async-actions-b249c527d99723bb.yaml
+releasenotes/notes/add-re-pattern-to-match-types-6a4c1d9e64e2a5e1.yaml
releasenotes/notes/add-reno-d1ab5710f272650a.yaml
releasenotes/notes/add-retry_except_exception_type-31b31da1924d55f4.yaml
releasenotes/notes/add-stop-before-delay-a775f88ac872c923.yaml
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/tenacity-9.0.0/tox.ini new/tenacity-9.1.2/tox.ini
--- old/tenacity-9.0.0/tox.ini 2024-07-29 14:12:16.000000000 +0200
+++ new/tenacity-9.1.2/tox.ini 2025-04-02 10:24:53.000000000 +0200
@@ -1,5 +1,6 @@
[tox]
-envlist = py3{8,9,10,11,12,12-trio}, pep8, pypy3
+# we only test trio on latest python version
+envlist = py3{9,10,11,12,13,13-trio}, pep8, pypy3
skip_missing_interpreters = True
[testenv]
@@ -10,9 +11,9 @@
.[doc]
trio: trio
commands =
- py3{8,9,10,11,12},pypy3: pytest {posargs}
- py3{8,9,10,11,12},pypy3: sphinx-build -a -E -W -b doctest doc/source
doc/build
- py3{8,9,10,11,12},pypy3: sphinx-build -a -E -W -b html doc/source doc/build
+ py3{8,9,10,11,12,13},pypy3: pytest {posargs}
+ py3{8,9,10,11,12,13},pypy3: sphinx-build -a -E -W -b doctest doc/source
doc/build
+ py3{8,9,10,11,12,13},pypy3: sphinx-build -a -E -W -b html doc/source
doc/build
[testenv:pep8]
basepython = python3