Kaydet (Commit) 9076b6c8 authored tarafından Joffrey F's avatar Joffrey F

Bump default API version to 1.26

Signed-off-by: 's avatarJoffrey F <joffrey@docker.com>
üst 32f57c4b
import sys import sys
from .version import version from .version import version
DEFAULT_DOCKER_API_VERSION = '1.24' DEFAULT_DOCKER_API_VERSION = '1.26'
MINIMUM_DOCKER_API_VERSION = '1.21' MINIMUM_DOCKER_API_VERSION = '1.21'
DEFAULT_TIMEOUT_SECONDS = 60 DEFAULT_TIMEOUT_SECONDS = 60
STREAM_HEADER_SIZE_BYTES = 8 STREAM_HEADER_SIZE_BYTES = 8
......
...@@ -150,7 +150,7 @@ class UnixconnTest(unittest.TestCase): ...@@ -150,7 +150,7 @@ class UnixconnTest(unittest.TestCase):
with warnings.catch_warnings(record=True) as w: with warnings.catch_warnings(record=True) as w:
warnings.simplefilter('always') warnings.simplefilter('always')
client = docker.APIClient(**kwargs_from_env()) client = docker.APIClient(version='auto', **kwargs_from_env())
client.images() client.images()
client.close() client.close()
del client del client
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment