aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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