[ https://issues.apache.org/jira/browse/AIRFLOW-1380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16488637#comment-16488637 ]
ASF subversion and git services commented on AIRFLOW-1380: ---------------------------------------------------------- Commit 49556917d9a3e9192d9043afd6cf3ca7939a2403 in incubator-airflow's branch refs/heads/master from [~wasperen] [ https://git-wip-us.apache.org/repos/asf?p=incubator-airflow.git;h=4955691 ] [AIRFLOW-1057][AIRFLOW-1380][AIRFLOW-2362][2362] AIRFLOW Update DockerOperator to new API update import to docker's new API version >=2.0.0 changed dependency for docker package; now docker rather than docker-py updated test cases to align to new docker class Closes #3407 from Noremac201/fixer > DockerOperator does not work with most recent version of Docker client > ---------------------------------------------------------------------- > > Key: AIRFLOW-1380 > URL: https://issues.apache.org/jira/browse/AIRFLOW-1380 > Project: Apache Airflow > Issue Type: Bug > Components: docker, operators > Affects Versions: 1.9.0 > Environment: Tested on OS X, Python 3.5.2. > Reporter: Benjamin Sims > Priority: Minor > Original Estimate: 1h > Remaining Estimate: 1h > > DockerOperator contains the following import: > from docker import Client, tls > https://github.com/apache/incubator-airflow/blob/master/airflow/operators/docker_operator.py#L21 > In the latest version of the docker Python client available in PyPy, 'Client' > is no longer available and has been named 'APIClient'. The change was made > here: > https://github.com/docker/docker-py/commit/9daa320454ec0c19035a09b436a41e13c3fb71ad > I will submit a PR with the relevant change. -- This message was sent by Atlassian JIRA (v7.6.3#76005)