You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Ruslan Dautkhanov (JIRA)" <ji...@apache.org> on 2017/03/11 20:50:04 UTC

[jira] [Updated] (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:all-tabpanel ]

Ruslan Dautkhanov updated AIRFLOW-971:
--------------------------------------
    Description: 
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.

  was:
When trying to install Airflow using
{code}
pip install "airflow[devel_hadoop, crypto, jdbc, hdfs, hive, kerberos, ldap, password]"
{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]




> 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
>              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
(v6.3.15#6346)