[packages/python3-kombu] - updated to 5.3.2, minimal test dependencies
qboosh
qboosh at pld-linux.org
Mon Oct 23 22:08:12 CEST 2023
commit 2779eda386204437b13f429dcc19c24ff0b3c919
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Mon Oct 23 22:10:16 2023 +0200
- updated to 5.3.2, minimal test dependencies
python3-kombu.spec | 37 ++++++++++++++++++++++++-------------
1 file changed, 24 insertions(+), 13 deletions(-)
---
diff --git a/python3-kombu.spec b/python3-kombu.spec
index a63484a..497cba8 100644
--- a/python3-kombu.spec
+++ b/python3-kombu.spec
@@ -7,27 +7,35 @@
Summary: Messaging library for Python
Summary(pl.UTF-8): Biblioteka komunikatów dla Pythona
Name: python3-%{module}
-Version: 5.0.2
-Release: 4
+Version: 5.3.2
+Release: 1
License: BSD
Group: Development/Languages/Python
#Source0Download: https://pypi.org/simple/kombu/
Source0: https://files.pythonhosted.org/packages/source/k/kombu/%{module}-%{version}.tar.gz
-# Source0-md5: 52192e631ac39a443fb1abeb52299f22
+# Source0-md5: 7d54254592a6456d4d56d9b3cc03f83c
URL: https://pypi.org/project/kombu/
-BuildRequires: python3-modules >= 1:3.6
-BuildRequires: python3-setuptools >= 1:20.6.7
+BuildRequires: python3-modules >= 1:3.8
+BuildRequires: python3-setuptools >= 1:47.0.0
%if %{with tests}
BuildRequires: python3-Pyro4
-BuildRequires: python3-amqp >= 5.0.0
+BuildRequires: python3-amqp >= 5.1.1
BuildRequires: python3-amqp < 6.0.0
-BuildRequires: python3-botocore
-BuildRequires: python3-case >= 1.5.2
-%if "%{py3_ver}" < "3.8"
-BuildRequires: python3-importlib_metadata >= 0.18
+%if "%{py3_ver}" == "3.8"
+BuildRequires: python3-backports.zoneinfo
%endif
-BuildRequires: python3-pytest
+BuildRequires: python3-botocore
+BuildRequires: python3-hypothesis
+BuildRequires: python3-pycurl
+# 7.3.1
+BuildRequires: python3-pytest >= 7.2.1
+BuildRequires: python3-pytest < 8
+BuildRequires: python3-pytest-freezer
BuildRequires: python3-pytz
+BuildRequires: python3-vine
+%if "%{_ver_lt '%{py3_ver}' '3.10'}" == "1"
+BuildRequires: python3-typing-extensions
+%endif
%endif
BuildRequires: rpm-pythonprov
BuildRequires: rpmbuild(macros) >= 1.714
@@ -36,7 +44,7 @@ BuildRequires: python3-amqp
BuildRequires: python3-sphinx_celery
BuildRequires: sphinx-pdg-3
%endif
-Requires: python3-modules >= 1:3.6
+Requires: python3-modules >= 1:3.8
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -65,12 +73,15 @@ Dokumentacja API modułu kombu.
%prep
%setup -q -n %{module}-%{version}
+# requires azure.identity
+%{__rm} t/unit/transport/test_azurestoragequeues.py
+
%build
%py3_build
%if %{with tests}
PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
-PYTEST_PLUGINS="case.pytest" \
+PYTEST_PLUGINS=pytest_freezer \
%{__python3} -m pytest t/unit
%endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-kombu.git/commitdiff/2779eda386204437b13f429dcc19c24ff0b3c919
More information about the pld-cvs-commit
mailing list