aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBarry Warsaw <barry@debian.org>2014-06-04 15:00:00 +0000
committerBarry Warsaw <barry@debian.org>2014-06-04 15:00:00 +0000
commit6f2f83d78c087c37599a2a347c0f4b377a053ead (patch)
tree659d827800dbf92fda410fc78c01e41ec9857e7c
parent52f675ec01015fb5f674f9d307ba1f1d1b603827 (diff)
downloadpython-requests-6f2f83d78c087c37599a2a347c0f4b377a053ead.tar
python-requests-6f2f83d78c087c37599a2a347c0f4b377a053ead.tar.gz
Disable the test suite until upstream issue #1166 is fixed, since it
currently requires external internet access.
-rw-r--r--debian/changelog1
-rwxr-xr-xdebian/rules17
2 files changed, 13 insertions, 5 deletions
diff --git a/debian/changelog b/debian/changelog
index 969f614..9cad6ee 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,7 +3,6 @@ requests (2.3.0-1) unstable; urgency=medium
* Team upload.
* New upstream release.
* d/control: Added python{,3}-pytest to Build-Depends.
- * d/rules: Fixed running of test suite during package build.
* d/patches/*: Refreshed.
-- Barry Warsaw <barry@debian.org> Wed, 04 Jun 2014 10:40:46 -0400
diff --git a/debian/rules b/debian/rules
index 8adac87..d547907 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,11 +5,20 @@ export PYBUILD_NAME=requests
%:
dh $@ --with python2,python3 --buildsystem=pybuild
+# The test suite currently requires external network access, so we
+# can't enable it. Once this issue is fixed, it will be easy to
+# re-enable.
+#
+# https://github.com/kennethreitz/requests/issues/1166
+#
+# barry@debian.org 2014-06-04
+#override_dh_auto_test:
+# PYBUILD_SYSTEM=custom \
+# PYBUILD_TEST_ARGS="{interpreter} test_requests.py" \
+# http_proxy= https_proxy= \
+# dh_auto_test
+
override_dh_auto_test:
- PYBUILD_SYSTEM=custom \
- PYBUILD_TEST_ARGS="{interpreter} test_requests.py" \
- http_proxy= https_proxy= \
- dh_auto_test
override_dh_installchangelogs:
dh_installchangelogs HISTORY.rst