public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-tenacity] rawhide: Update to 9.2.0 (RHBZ#2511551)
@ 2026-08-18 17:42 Ali Erdinc Koroglu
0 siblings, 0 replies; only message in thread
From: Ali Erdinc Koroglu @ 2026-08-18 17:42 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-tenacity
Branch : rawhide
Commit : ce183e8ade45595cc925b0445195c519745198ae
Author : Ali Erdinc Koroglu <ali.koroglu@oss.qualcomm.com>
Date : 2026-08-18T20:41:56+03:00
Stats : +28/-29 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/python-tenacity/c/ce183e8ade45595cc925b0445195c519745198ae?branch=rawhide
Log:
Update to 9.2.0 (RHBZ#2511551)
---
diff --git a/python-tenacity.spec b/python-tenacity.spec
index f54a79a..af3a461 100644
--- a/python-tenacity.spec
+++ b/python-tenacity.spec
@@ -1,56 +1,55 @@
-%global pypi_name tenacity
+%global srcname tenacity
%global _description %{expand:
Tenacity is a general-purpose retrying library to simplify the task of adding
retry behavior to just about anything.}
-Name: python-%{pypi_name}
-Version: 9.1.4
-Release: 3%{?dist}
-Summary: Retry code until it succeeds
-License: Apache-2.0
-URL: https://github.com/jd/%{pypi_name}
-Source: %{pypi_source}
-BuildArch: noarch
+Name: python-%{srcname}
+Version: 9.2.0
+Release: 1%{dist}
+Summary: Retry code until it succeeds
-%description %{_description}
+License: Apache-2.0
+URL: https://github.com/jd/tenacity
+Source: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz
+
+BuildArch: noarch
-%package -n python3-%{pypi_name}
-Summary: %{summary}
-BuildRequires: python3-devel
-# for tests
-BuildRequires: python3-pytest
-BuildRequires: python3-tornado >= 4.5
+BuildRequires: python3-devel
+BuildRequires: python3dist(hatchling)
+BuildRequires: python3-pytest
+%description %{_description}
-%description -n python3-%{pypi_name} %{_description}
+%package -n python3-%{srcname}
+Summary: %{summary}
+
+%description -n python3-%{srcname} %{_description}
%prep
-%autosetup -n %{pypi_name}-%{version} -p 1
-# Avoid type checking dependency
-sed -e '/typeguard/d' -i setup.cfg
-sed -r -i '/^from typeguard/d' -i tests/*.py
-# [toml] is an empty feature since setuptools switched to builtin tomllib
-sed -e 's/setuptools_scm\[toml\]/setuptools_scm/' -i pyproject.toml
+%autosetup -n %{srcname}-%{version}
%generate_buildrequires
+export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
%pyproject_buildrequires -x test
%build
+export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
%pyproject_wheel
%install
%pyproject_install
-%pyproject_save_files -l %{pypi_name}
+%pyproject_save_files %{srcname}
%check
-# These require typeguard, but we patched out the dependency and imports.
-k="${k-}${k+ and }not (TestRetryTyping and test_retry_type_annotations)"
-%pytest -k "${k-}" ${ignore-}
+%pytest -v
-%files -n python3-%{pypi_name} -f %{pyproject_files}
+%files -n python3-%{srcname} -f %{pyproject_files}
%doc README.rst
%changelog
+* Tue Aug 18 2026 Ali Erdinc Koroglu <aekoroglu@fedoraproject.org> - 9.2.0-1
+- Update to 9.2.0 (RHBZ#2511551)
+
* Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 9.1.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
diff --git a/sources b/sources
index 44e5139..1595024 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (tenacity-9.1.4.tar.gz) = 2d99c144f1bdc7f69a044f400debbd30d8fa66416b9cab268d3f506e86ca5c20d38cf10f6b8c8a9f63814295d24dc93d0109c1eaacacf1734347c983f0b7b327
+SHA512 (tenacity-9.2.0.tar.gz) = 7af0f282db93cd8f9a9d1e3e256fb9fc4a5c40f301c1a2548bdc7e8e230b5d4c42a76b28d2307a563676657c44dac49c5c8000cbcd87dd7e5e94625c9a1b44de
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-18 17:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-18 17:42 [rpms/python-tenacity] rawhide: Update to 9.2.0 (RHBZ#2511551) Ali Erdinc Koroglu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox