Kaydet (Commit) eb0d8064 authored tarafından Joffrey F's avatar Joffrey F Kaydeden (comit) GitHub

Merge pull request #1672 from docker/2.4.2-release

2.4.2 release
...@@ -54,6 +54,11 @@ def port_range(start, end, proto, randomly_available_port=False): ...@@ -54,6 +54,11 @@ def port_range(start, end, proto, randomly_available_port=False):
def split_port(port): def split_port(port):
if hasattr(port, 'legacy_repr'):
# This is the worst hack, but it prevents a bug in Compose 1.14.0
# https://github.com/docker/docker-py/issues/1668
# TODO: remove once fixed in Compose stable
port = port.legacy_repr()
port = str(port) port = str(port)
match = PORT_SPEC.match(port) match = PORT_SPEC.match(port)
if match is None: if match is None:
......
version = "2.4.1" version = "2.4.2"
version_info = tuple([int(d) for d in version.split("-")[0].split(".")]) version_info = tuple([int(d) for d in version.split("-")[0].split(".")])
Change log Change log
========== ==========
2.4.1 2.4.2
----- -----
[List of PRs / issues for this release](https://github.com/docker/docker-py/milestone/35?closed=1) [List of PRs / issues for this release](https://github.com/docker/docker-py/milestone/36?closed=1)
### Bugfixes ### Bugfixes
......
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