[ 
https://issues.apache.org/jira/browse/AIRFLOW-2976?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lin, Yi-Li updated AIRFLOW-2976:
--------------------------------
    Description: 
I'm trying to install airflow with docker extras but airflow's dependency will 
install recent docker-py (3.5.0) from pypi which is incompatible with current 
DockerOperator.

DockerOperator will complain that "create_container() got an unexpected keyword 
argument 'cpu_shares'".

It looks like that interface is changed from docker-py 3.0.0 and work with 
docker-py 2.7.0.

The log and dag file are in attachments.

Note, installation comment: "AIRFLOW_GPL_UNIDECODE=yes pip install 
'apache-airflow[docker,mysql]==1.10.0'"

  was:
I'm trying to install airflow with docker extras but airflow's dependency will 
install recent docker-py (3.5.0) from pypi which is incompatible with current 
DockerOperator.

DockerOperator will complain that "create_container() got an unexpected keyword 
argument 'cpu_shares'".

It looks like that interface is changed from docker-py 3.0.0 and work with 
docker-py 2.7.0.

The log and dag file are in attachments.


> pipy docker dependency broken
> -----------------------------
>
>                 Key: AIRFLOW-2976
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-2976
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: dependencies, docker
>    Affects Versions: 1.10
>            Reporter: Lin, Yi-Li
>            Priority: Major
>         Attachments: docker_dag.log, docker_dag.py
>
>
> I'm trying to install airflow with docker extras but airflow's dependency 
> will install recent docker-py (3.5.0) from pypi which is incompatible with 
> current DockerOperator.
> DockerOperator will complain that "create_container() got an unexpected 
> keyword argument 'cpu_shares'".
> It looks like that interface is changed from docker-py 3.0.0 and work with 
> docker-py 2.7.0.
> The log and dag file are in attachments.
> Note, installation comment: "AIRFLOW_GPL_UNIDECODE=yes pip install 
> 'apache-airflow[docker,mysql]==1.10.0'"



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to