Browse Source

Use docker-py 1.0.0

Signed-off-by: Zoltan Nagy <[email protected]>
Zoltan Nagy 10 years ago
parent
commit
8f38b28816
3 changed files with 3 additions and 3 deletions
  1. 1 1
      requirements.txt
  2. 1 1
      setup.py
  3. 1 1
      tests/unit/cli/docker_client_test.py

+ 1 - 1
requirements.txt

@@ -1,5 +1,5 @@
 PyYAML==3.10
-docker-py==0.7.1
+docker-py==1.0.0
 dockerpty==0.3.2
 docopt==0.6.1
 requests==2.2.1

+ 1 - 1
setup.py

@@ -30,7 +30,7 @@ install_requires = [
     'requests >= 2.2.1, < 3',
     'texttable >= 0.8.1, < 0.9',
     'websocket-client >= 0.11.0, < 1.0',
-    'docker-py >= 0.6.0, < 0.8',
+    'docker-py >= 1.0.0, < 1.1.0',
     'dockerpty >= 0.3.2, < 0.4',
     'six >= 1.3.0, < 2',
 ]

+ 1 - 1
tests/unit/cli/docker_client_test.py

@@ -19,4 +19,4 @@ class DockerClientTestCase(unittest.TestCase):
         with mock.patch.dict(os.environ):
             os.environ['DOCKER_CLIENT_TIMEOUT'] = timeout = "300"
             client = docker_client.docker_client()
-        self.assertEqual(client._timeout, int(timeout))
+        self.assertEqual(client.timeout, int(timeout))