Hi Yaroslav, On 9 January 2017 at 17:48, Yaroslav Halchenko <[email protected]> wrote: > Package: python-docker > Version: 1.9.0-1 > Severity: wishlist > > there is a new release which supposedly progressed forward considerably > > might be worth considering it for stretch > > $> pip show docker > Name: docker > Version: 2.0.0 > Summary: A Python library for the Docker Engine API. > Home-page: https://github.com/docker/docker-py > Author: Joffrey F > Author-email: [email protected] > License: UNKNOWN > Location: > /home/yoh/proj/repronim/repronim/venvs/dev/lib/python2.7/site-packages > Requires: backports.ssl-match-hostname, six, websocket-client, ipaddress, > docker-pycreds, requests > >
Unfortunately, dockerpy 2.0 includes breaking changes: - Dropped support for Python 2.6 - docker.Client has been renamed to docker.APIClient - docker.from_env now creates a DockerClient instance instead of an APIClient instance. - Removed HostConfig parameters from APIClient.start - The minimum supported API version is now 1.21 (Engine version 1.9.0+) - The name of the pip package is now docker (was: docker-py). New versions of this library will only be published as docker from now on. - docker.ssladapter is now docker.transport.ssladapter - The package structure has been flattened in certain cases, which may affect import for docker.authand docker.utils.ports - docker.utils.types has been moved to docker.types - create_host_config, create_ipam_pool and create_ipam_config have been removed from docker.utils. They have been replaced by the following classes in docker.types: HostConfig, IPAMPool and IPAMCOnfig. https://github.com/docker/docker-py/releases/tag/2.0.0 I fear it is too late for stretch as it might break reverse dependencies. -- Saludos, Felipe Sateler

