From 747f35ba1f2ffc5027718dae273c397b3543c2a663cee9d430f8fec7ffe9b219 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Fri, 18 Sep 2015 08:14:54 +0000 Subject: [PATCH] Accepting request 330848 from home:tbechtold:branches:devel:languages:python - Disable testsuite. Tests were never executed (bsc#945455) but enabling the testsuite doesn't work because the suite needs network access. OBS-URL: https://build.opensuse.org/request/show/330848 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests?expand=0&rev=64 --- python-requests.changes | 7 +++++++ python-requests.spec | 7 +++++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/python-requests.changes b/python-requests.changes index 9d51d1a..b921cb5 100644 --- a/python-requests.changes +++ b/python-requests.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Sep 14 07:48:30 UTC 2015 - tbechtold@suse.com + +- Disable testsuite. Tests were never executed (bsc#945455) but + enabling the testsuite doesn't work because the suite needs + network access. + ------------------------------------------------------------------- Fri Jul 24 14:45:44 UTC 2015 - seife+obs@b1-systems.com diff --git a/python-requests.spec b/python-requests.spec index 275dcf5..018db5c 100644 --- a/python-requests.spec +++ b/python-requests.spec @@ -80,8 +80,11 @@ rm ./requests/cacert.pem %build python setup.py build -%check -python setup.py test +# NOTE(toabctl): The test suite currently requires external network access, so +# we can't enable it. +# See # https://github.com/kennethreitz/requests/issues/2184 +##check +##python setup.py test %install python setup.py install --prefix=%{_prefix} --root=%{buildroot}