[packages/python-pymongo] - disable tests (network required)
qboosh
qboosh at pld-linux.org
Sun Dec 10 09:29:17 CET 2023
commit 60de0b4d98b561cbe8b4e051db8531b1382f781a
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Dec 10 08:12:58 2023 +0100
- disable tests (network required)
python-pymongo.spec | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/python-pymongo.spec b/python-pymongo.spec
index 4010b64..aba2949 100644
--- a/python-pymongo.spec
+++ b/python-pymongo.spec
@@ -3,7 +3,7 @@
%bcond_without python2 # Python 2.x module
%bcond_without python3 # Python 3.x module
%bcond_without doc # Sphinx documentation
-%bcond_without tests # unit tests
+%bcond_with tests # unit tests (TestSrvPooling requires network)
%define module pymongo
Summary: Python driver for MongoDB
@@ -19,7 +19,7 @@ Source0: https://files.pythonhosted.org/packages/source/p/pymongo/pymongo-%{vers
URL: https://api.mongodb.com/python/current/
%if %{with python2}
BuildRequires: python-devel >= 1:2.7
-BuildRequires: python-modules
+BuildRequires: python-modules >= 1:2.7
BuildRequires: python-setuptools
%endif
%if %{with python3}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-pymongo.git/commitdiff/60de0b4d98b561cbe8b4e051db8531b1382f781a
More information about the pld-cvs-commit
mailing list