Skip to content

Commit c55a330

Browse files
committed
Merge branch 'release' of github.com:docker/docker-py
Signed-off-by: Joffrey F <[email protected]>
2 parents 13b9349 + 8d14709 commit c55a330

File tree

5 files changed

+50
-6
lines changed

5 files changed

+50
-6
lines changed

Jenkinsfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ def imageNamePy3
66
def images = [:]
77

88

9-
def dockerVersions = ["1.13.1", "17.04.0-ce", "17.05.0-ce", "17.06.0-ce"]
9+
def dockerVersions = ["1.13.1", "17.04.0-ce", "17.05.0-ce", "17.06.0-ce", "17.07.0-ce-rc3"]
1010

1111
def buildImage = { name, buildargs, pyTag ->
1212
img = docker.image(name)
@@ -34,7 +34,7 @@ def buildImages = { ->
3434
}
3535

3636
def getAPIVersion = { engineVersion ->
37-
def versionMap = ['1.13.': '1.26', '17.04': '1.27', '17.05': '1.29', '17.06': '1.30']
37+
def versionMap = ['1.13.': '1.26', '17.04': '1.27', '17.05': '1.29', '17.06': '1.30', '17.07': '1.31']
3838
return versionMap[engineVersion.substring(0, 5)]
3939
}
4040

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ integration-test: build
4141
integration-test-py3: build-py3
4242
docker run --rm -v /var/run/docker.sock:/var/run/docker.sock docker-sdk-python3 py.test tests/integration/${file}
4343

44-
TEST_API_VERSION ?= 1.29
45-
TEST_ENGINE_VERSION ?= 17.05.0-ce
44+
TEST_API_VERSION ?= 1.30
45+
TEST_ENGINE_VERSION ?= 17.06.0-ce
4646

4747
.PHONY: integration-dind
4848
integration-dind: build build-py3

docker/constants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import sys
22
from .version import version
33

4-
DEFAULT_DOCKER_API_VERSION = '1.26'
4+
DEFAULT_DOCKER_API_VERSION = '1.30'
55
MINIMUM_DOCKER_API_VERSION = '1.21'
66
DEFAULT_TIMEOUT_SECONDS = 60
77
STREAM_HEADER_SIZE_BYTES = 8

docker/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
version = "2.5.0-dev"
1+
version = "2.5.0"
22
version_info = tuple([int(d) for d in version.split("-")[0].split(".")])

docs/change-log.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,50 @@
11
Change log
22
==========
33

4+
2.5.0
5+
-----
6+
7+
[List of PRs / issues for this release](https://github.com/docker/docker-py/milestone/34?closed=1)
8+
9+
### Features
10+
11+
* Added support for the `squash` parameter in `APIClient.build` and
12+
`DockerClient.images.build`.
13+
* When using API version 1.23 or above, `load_image` will now return a
14+
generator of progress as JSON `dict`s.
15+
* `remove_image` now returns the content of the API's response.
16+
17+
18+
### Bugfixes
19+
20+
* Fixed an issue where the `auto_remove` parameter in
21+
`DockerClient.containers.run` was not taken into account.
22+
* Fixed a bug where `.dockerignore` patterns starting with a slash
23+
were ignored.
24+
* Fixed an issue with the handling of `**` patterns in `.dockerignore`
25+
* Fixed a bug where building `FROM` a private Docker Hub image when not
26+
using a cred store would fail.
27+
* Fixed a bug where calling `create_service` or `update_service` with
28+
`task_template` as a `dict` would raise an exception.
29+
* Fixed the handling of TTY-enabled containers in `attach` and `exec_run`.
30+
* `DockerClient.containers.run` will no longer attempt to stream logs if the
31+
log driver doesn't support the operation.
32+
33+
### Miscellaneous
34+
35+
* Added extra requirements for better TLS support on some platforms.
36+
These can be installed or required through the `docker[tls]` notation.
37+
38+
2.4.2
39+
-----
40+
41+
[List of PRs / issues for this release](https://github.com/docker/docker-py/milestone/36?closed=1)
42+
43+
### Bugfixes
44+
45+
* Fixed a bug where the `split_port` utility would raise an exception when
46+
passed a non-string argument.
47+
448
2.4.0
549
-----
650

0 commit comments

Comments
 (0)