[Python-modules-commits] r33422 - in packages/python-docker/trunk/debian (3 files)

tianon-guest at users.alioth.debian.org tianon-guest at users.alioth.debian.org
Mon Jul 20 21:43:43 UTC 2015


    Date: Monday, July 20, 2015 @ 21:43:42
  Author: tianon-guest
Revision: 33422

Patch the default API version down one notch to match src:docker.io (to be removed when Docker 1.7+ gets into the archive)

Added:
  packages/python-docker/trunk/debian/patches/02_version.patch
Modified:
  packages/python-docker/trunk/debian/changelog
  packages/python-docker/trunk/debian/patches/series

Modified: packages/python-docker/trunk/debian/changelog
===================================================================
--- packages/python-docker/trunk/debian/changelog	2015-07-20 21:43:33 UTC (rev 33421)
+++ packages/python-docker/trunk/debian/changelog	2015-07-20 21:43:42 UTC (rev 33422)
@@ -4,6 +4,8 @@
     stored in no less than three separate files (Closes: #793024).
   * Add a DEP8 test that runs upstream's integration tests to verify
     basic functionality.
+  * Patch the default API version down one notch to match src:docker.io (to be
+    removed when Docker 1.7+ gets into the archive).
 
  -- Tianon Gravi <admwiggin at gmail.com>  Mon, 20 Jul 2015 18:03:45 +0000
 

Added: packages/python-docker/trunk/debian/patches/02_version.patch
===================================================================
--- packages/python-docker/trunk/debian/patches/02_version.patch	                        (rev 0)
+++ packages/python-docker/trunk/debian/patches/02_version.patch	2015-07-20 21:43:42 UTC (rev 33422)
@@ -0,0 +1,14 @@
+Author: Tianon Gravi <admwiggin at gmail.com>
+Forwarded: not-needed
+Description: adjust default API version to match src:docker.io from the archive (for now -- should remove when Docker 1.7+ is in the archive)
+
+Index: python-docker/docker/constants.py
+===================================================================
+--- python-docker.orig/docker/constants.py
++++ python-docker/docker/constants.py
+@@ -1,4 +1,4 @@
+-DEFAULT_DOCKER_API_VERSION = '1.19'
++DEFAULT_DOCKER_API_VERSION = '1.18'
+ DEFAULT_TIMEOUT_SECONDS = 60
+ STREAM_HEADER_SIZE_BYTES = 8
+ CONTAINER_LIMITS_KEYS = [

Modified: packages/python-docker/trunk/debian/patches/series
===================================================================
--- packages/python-docker/trunk/debian/patches/series	2015-07-20 21:43:33 UTC (rev 33421)
+++ packages/python-docker/trunk/debian/patches/series	2015-07-20 21:43:42 UTC (rev 33422)
@@ -1,2 +1,5 @@
 # see https://github.com/dotcloud/docker-py/issues/101
 01_requirements.patch
+
+# once Docker 1.7+ is in the archive, drop this patch
+02_version.patch




More information about the Python-modules-commits mailing list