Skip to content

Commit c657ca3

Browse files
authored
Merge pull request #2347 from docker/resync-release
Resync release branch with master
2 parents a33dbd8 + eee115c commit c657ca3

File tree

3 files changed

+52
-1
lines changed

3 files changed

+52
-1
lines changed

docker/version.py

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

docs/change-log.md

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

4+
4.0.0
5+
-----
6+
7+
[List of PRs / issues for this release](https://github.com/docker/docker-py/milestone/57?closed=1)
8+
9+
### Breaking changes
10+
11+
- Support for Python 3.3 and Python 3.4 has been dropped
12+
- `APIClient.update_service`, `APIClient.init_swarm`, and
13+
`DockerClient.swarm.init` now return a `dict` from the API's response body
14+
- In `APIClient.build` and `DockerClient.images.build`, the `use_config_proxy`
15+
parameter now defaults to True
16+
- `init_path` is no longer a valid parameter for `HostConfig`
17+
18+
### Features
19+
20+
- It is now possible to provide `SCTP` ports for port mappings
21+
- `ContainerSpec`s now support the `init` parameter
22+
- `DockerClient.swarm.init` and `APIClient.init_swarm` now support the
23+
`data_path_addr` parameter
24+
- `APIClient.update_swarm` and `DockerClient.swarm.update` now support the
25+
`rotate_manager_unlock_key` parameter
26+
- `APIClient.update_service` returns the API's response body as a `dict`
27+
- `APIClient.init_swarm`, and `DockerClient.swarm.init` now return the API's
28+
response body as a `dict`
29+
30+
### Bugfixes
31+
32+
- Fixed `PlacementPreference` instances to produce a valid API type
33+
- Fixed a bug where not setting a value for `buildargs` in `build` could cause
34+
the library to attempt accessing attributes of a `None` value
35+
- Fixed a bug where setting the `volume_driver` parameter in
36+
`DockerClient.containers.create` would result in an error
37+
- `APIClient.inspect_distribution` now correctly sets the authentication
38+
headers on the request, allowing it to be used with private repositories
39+
This change also applies to `DockerClient.get_registry_data`
40+
41+
3.7.2
42+
-----
43+
44+
[List of PRs / issues for this release](https://github.com/docker/docker-py/milestone/59?closed=1)
45+
46+
### Bugfixes
47+
48+
* Fix base_url to keep TCP protocol on utils.py by letting the responsability of changing the
49+
protocol to `parse_host` afterwards, letting `base_url` with the original value.
50+
* XFAIL test_attach_stream_and_cancel on TLS
51+
452
3.7.1
553
-----
654

tests/integration/api_container_test.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1252,6 +1252,9 @@ def test_attach_no_stream(self):
12521252
@pytest.mark.timeout(10)
12531253
@pytest.mark.skipif(os.environ.get('DOCKER_HOST', '').startswith('ssh://'),
12541254
reason='No cancellable streams over SSH')
1255+
@pytest.mark.xfail(condition=os.environ.get('DOCKER_TLS_VERIFY') or
1256+
os.environ.get('DOCKER_CERT_PATH'),
1257+
reason='Flaky test on TLS')
12551258
def test_attach_stream_and_cancel(self):
12561259
container = self.client.create_container(
12571260
BUSYBOX, 'sh -c "sleep 2 && echo hello && sleep 60"',

0 commit comments

Comments
 (0)