[packages/python-requests-futures] - updated to 1.0.2

qboosh qboosh at pld-linux.org
Tue Feb 17 19:05:36 CET 2026


commit cb8bb6a6f7804e65c7eadcd800b5b051ac5ddaf9
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue Feb 17 19:05:35 2026 +0100

    - updated to 1.0.2

 python-requests-futures.spec | 23 ++++++++++++++++-------
 1 file changed, 16 insertions(+), 7 deletions(-)
---
diff --git a/python-requests-futures.spec b/python-requests-futures.spec
index 234c552..7ddbde7 100644
--- a/python-requests-futures.spec
+++ b/python-requests-futures.spec
@@ -7,29 +7,36 @@
 Summary:	Asynchronous Python HTTP for Humans
 Summary(pl.UTF-8):	Asynchroniczne HTTP w Pythonie dla ludzi
 Name:		python-requests-futures
-Version:	1.0.1
-Release:	4
+Version:	1.0.2
+Release:	1
 License:	Apache v2.0
 Group:		Libraries/Python
 #Source0Download: https://pypi.org/simple/requests-futures/
-Source0:	https://files.pythonhosted.org/packages/source/r/requests-futures/requests-futures-%{version}.tar.gz
-# Source0-md5:	6275dc25c73bd9b68ce2d9265aba1a17
+Source0:	https://files.pythonhosted.org/packages/source/r/requests-futures/requests_futures-%{version}.tar.gz
+# Source0-md5:	cfa914d02e9f5aa7b12d6bdc4b673de2
 URL:		https://pypi.org/project/requests-futures/
 %if %{with python2}
 BuildRequires:	python-futures
 BuildRequires:	python-modules >= 1:2.7
 BuildRequires:	python-setuptools >= 1:38.6.1
 %if %{with tests}
-BuildRequires:	python-pytest
+# use last versions of python2 modules where setup.py specifies higher test dependencies - they are not really necessary
+BuildRequires:	python-greenlet
+BuildRequires:	python-pytest >= 4.6.11
+BuildRequires:	python-pytest-httpbin >= 1.0.2
 BuildRequires:	python-requests >= 1.2.0
+BuildRequires:	python-werkzeug >= 1.0.1
 %endif
 %endif
 %if %{with python3}
 BuildRequires:	python3-modules >= 1:3.6
 BuildRequires:	python3-setuptools >= 1:38.6.1
 %if %{with tests}
-BuildRequires:	python3-pytest
+BuildRequires:	python3-greenlet
+BuildRequires:	python3-pytest >= 6.2.5
+BuildRequires:	python3-pytest-httpbin >= 2.0.0
 BuildRequires:	python3-requests >= 1.2.0
+BuildRequires:	python3-werkzeug >= 3.0.6
 %endif
 %endif
 BuildRequires:	rpm-pythonprov
@@ -62,7 +69,7 @@ Mały dodatek do pythonowej biblioteki HTTP requests. Wykorzystuje
 concurrent.futures z Pythona 3.2 albo backport dla starszych wersji.
 
 %prep
-%setup -q -n requests-futures-%{version}
+%setup -q -n requests_futures-%{version}
 
 %build
 %if %{with python2}
@@ -70,6 +77,7 @@ concurrent.futures z Pythona 3.2 albo backport dla starszych wersji.
 
 %if %{with tests}
 PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
+PYTEST_PLUGINS=pytest_httpbin.plugin \
 PYTHONPATH=$(pwd) \
 %{__python} -m pytest tests -m 'not network'
 %endif
@@ -80,6 +88,7 @@ PYTHONPATH=$(pwd) \
 
 %if %{with tests}
 PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
+PYTEST_PLUGINS=pytest_httpbin.plugin \
 PYTHONPATH=$(pwd) \
 %{__python3} -m pytest tests -m 'not network'
 %endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-requests-futures.git/commitdiff/cb8bb6a6f7804e65c7eadcd800b5b051ac5ddaf9



More information about the pld-cvs-commit mailing list