You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "jack (JIRA)" <ji...@apache.org> on 2018/08/22 14:52:00 UTC

[jira] [Commented] (AIRFLOW-971) Remove mysql as a dependency when not explicitly required

    [ 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)