diff mbox series

[meta-python,091/105] python3-tenacity: upgrade 9.1.4 -> 9.2.1

Message ID 20261116175359.342679-91-khem.raj@oss.qualcomm.com
State New
Headers show
Series [meta-python,001/105] python3-absl: upgrade 2.1.0 -> 2.5.1 | expand

Commit Message

Khem Raj Nov. 16, 2026, 5:53 p.m. UTC
Upstream moved to hatchling with hatch-vcs; inherit python_hatchling.
Refresh the ptest skip patch.

Changes:
- 9.2.0 never reached PyPI (bad package description); 9.2.1 is the
  first release including both.
- New: name parameter for Retrying (log output), enabled parameter to
  disable retrying, async context manager support in AttemptManager,
  min parameter and timedelta support in wait_exponential_jitter
  (its "initial" argument is deprecated in favour of "multiplier").
- Fixes: Retrying and strategies are picklable, no hang on cyclic
  exception __cause__ chains, wait_chain([]) raises ValueError,
  ordinal suffix for numbers ending in 11-13, falsy wait values,
  enabled=False respected in iterators, many typing fixes.
- Tornado floor for the optional integration raised to >=6.0.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
---
 ...st-skip-a-test-that-does-not-pass-on-qemu.patch | 14 +++++---------
 ...tenacity_9.1.4.bb => python3-tenacity_9.2.1.bb} |  6 +++---
 2 files changed, 8 insertions(+), 12 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-tenacity_9.1.4.bb => python3-tenacity_9.2.1.bb} (64%)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-tenacity/0001-ptest-skip-a-test-that-does-not-pass-on-qemu.patch b/meta-python/recipes-devtools/python/python3-tenacity/0001-ptest-skip-a-test-that-does-not-pass-on-qemu.patch
index 7fb9458a32..2c98f61ad5 100644
--- a/meta-python/recipes-devtools/python/python3-tenacity/0001-ptest-skip-a-test-that-does-not-pass-on-qemu.patch
+++ b/meta-python/recipes-devtools/python/python3-tenacity/0001-ptest-skip-a-test-that-does-not-pass-on-qemu.patch
@@ -7,21 +7,17 @@  Upstream-Status: Inappropriate [oe specific]
 
 Signed-off-by: Jan Vermaete <jan.vermaete@oip.be>
 ---
- tests/test_asyncio.py | 1 +
+ tests/test_asyncio.py |    1 +
  1 file changed, 1 insertion(+)
 
 diff --git a/tests/test_asyncio.py b/tests/test_asyncio.py
-index 0b74476..2da0784 100644
 --- a/tests/test_asyncio.py
 +++ b/tests/test_asyncio.py
-@@ -192,6 +192,7 @@ class TestContextManager(unittest.TestCase):
-         else:
-             raise Exception
+@@ -365,6 +365,7 @@
+             await retrying(_test)
+         self.assertEqual(2, retrying.statistics["attempt_number"])
  
 +    @unittest.skip("Failing in ptest with qemu")
      @asynctest
-     async def test_sleeps(self):
+     async def test_sleeps(self) -> None:
          start = current_time_ms()
--- 
-2.43.0
-
diff --git a/meta-python/recipes-devtools/python/python3-tenacity_9.1.4.bb b/meta-python/recipes-devtools/python/python3-tenacity_9.2.1.bb
similarity index 64%
rename from meta-python/recipes-devtools/python/python3-tenacity_9.1.4.bb
rename to meta-python/recipes-devtools/python/python3-tenacity_9.2.1.bb
index 13c50dc258..9363e3c45b 100644
--- a/meta-python/recipes-devtools/python/python3-tenacity_9.1.4.bb
+++ b/meta-python/recipes-devtools/python/python3-tenacity_9.2.1.bb
@@ -3,13 +3,13 @@  HOMEPAGE = "https://github.com/jd/tenacity"
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=175792518e4ac015ab6696d16c4f607e"
 
-SRC_URI[sha256sum] = "adb31d4c263f2bd041081ab33b498309a57c77f9acf2db65aadf0898179cf93a"
+SRC_URI[sha256sum] = "a606b5c808d0cded4a359d5b9932d867ff2a6a6b64d37350260fd01bbdf83839"
 
 SRC_URI:append = " file://0001-ptest-skip-a-test-that-does-not-pass-on-qemu.patch"
 
-DEPENDS += "python3-setuptools-scm-native"
+DEPENDS += "python3-hatch-vcs-native"
 
-inherit pypi python_setuptools_build_meta ptest-python-pytest
+inherit pypi python_hatchling ptest-python-pytest
 
 
 RDEPENDS:${PN}-ptest += "\