airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jack (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AIRFLOW-971) Remove mysql as a dependency when not explicitly required
Date Wed, 22 Aug 2018 14:52:00 GMT

    [ https://issues.apache.org/jira/browse/AIRFLOW-971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16588960#comment-16588960
] 

jack commented on AIRFLOW-971:
------------------------------

not sure why {{setup.py}}{color:#000000} :{color}{{devel_minreq = devel + kubernetes + mysql
+ doc + password + s3 + cgroups}}{color:#000000} {color}

{color:#000000}has {color}{{mysql}}{color:#000000} and {color}{{s3}}{color:#000000}?{color}

[https://github.com/bloomberg/airflow/blob/master/setup.py#L265]

> Remove mysql as a dependency when not explicitly required
> ---------------------------------------------------------
>
>                 Key: AIRFLOW-971
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-971
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: core, dependencies
>    Affects Versions: Airflow 1.8, Airflow 1.7.1
>         Environment: RHEL 6; Python 2.7
>            Reporter: Ruslan Dautkhanov
>            Priority: Major
>              Labels: build-failure, dependencies, mysql
>
> When trying to install Airflow using
> {code}
> pip install "airflow[devel_hadoop]"
> {code}
> pip also tries to install mysql as a dependency. 
> - First of all we don't need any mysql dependency
> - Also `pip mysql` to build requires a local mysql installation and it may have its own
issues like for example discussed in http://stackoverflow.com/questions/5178292/pip-install-mysql-python-fails-with-environmenterror-mysql-config-not-found/

> Please remove mysql as a dependency when not explicitly requested through airflow[mysql].
> It seems devel_hadoop requires mysql for some reason. It would be awesome to remove this
dependency.



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

Mime
View raw message