[Python-modules-commits] r31221 - in packages/requests/trunk/debian (3 files)

eriol-guest at users.alioth.debian.org eriol-guest at users.alioth.debian.org
Thu Oct 23 01:05:42 UTC 2014


    Date: Thursday, October 23, 2014 @ 01:05:41
  Author: eriol-guest
Revision: 31221

Export IncompleteRead from requests.compat since it's imported by python-pip

Added:
  packages/requests/trunk/debian/patches/03_export-IncompleteRead.patch
Modified:
  packages/requests/trunk/debian/changelog
  packages/requests/trunk/debian/patches/series

Modified: packages/requests/trunk/debian/changelog
===================================================================
--- packages/requests/trunk/debian/changelog	2014-10-22 23:45:41 UTC (rev 31220)
+++ packages/requests/trunk/debian/changelog	2014-10-23 01:05:41 UTC (rev 31221)
@@ -1,3 +1,11 @@
+requests (2.4.3-2) UNRELEASED; urgency=medium
+
+  * debian/patches/03_export-IncompleteRead.patch
+    - Export IncompleteRead from requests.compat since it's imported by
+      python-pip. (Closes: #766419)
+
+ -- Daniele Tricoli <eriol at mornie.org>  Thu, 23 Oct 2014 02:54:46 +0200
+
 requests (2.4.3-1) unstable; urgency=medium
 
   * New upstream release.

Added: packages/requests/trunk/debian/patches/03_export-IncompleteRead.patch
===================================================================
--- packages/requests/trunk/debian/patches/03_export-IncompleteRead.patch	                        (rev 0)
+++ packages/requests/trunk/debian/patches/03_export-IncompleteRead.patch	2014-10-23 01:05:41 UTC (rev 31221)
@@ -0,0 +1,18 @@
+--- a/requests/compat.py
++++ b/requests/compat.py
+@@ -92,6 +92,7 @@
+     from Cookie import Morsel
+     from StringIO import StringIO
+     from urllib3.packages.ordered_dict import OrderedDict
++    from httplib import IncompleteRead
+ 
+     builtin_str = str
+     bytes = str
+@@ -107,6 +108,7 @@
+     from http.cookies import Morsel
+     from io import StringIO
+     from collections import OrderedDict
++    from http.client import IncompleteRead
+ 
+     builtin_str = str
+     str = str

Modified: packages/requests/trunk/debian/patches/series
===================================================================
--- packages/requests/trunk/debian/patches/series	2014-10-22 23:45:41 UTC (rev 31220)
+++ packages/requests/trunk/debian/patches/series	2014-10-23 01:05:41 UTC (rev 31221)
@@ -1,2 +1,3 @@
 01_use-system-ca-certificates.patch
 02_use-system-chardet-and-urllib3.patch
+03_export-IncompleteRead.patch




More information about the Python-modules-commits mailing list