You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "George Sakkis (JIRA)" <ji...@apache.org> on 2017/01/21 11:32:26 UTC

[jira] [Commented] (AIRFLOW-624) Setup.py error : attribute error: 'module' object has no attribute 'changelogawaredistribution'

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

George Sakkis commented on AIRFLOW-624:
---------------------------------------

This change doesn't fix the error for me; python-daemon 2.1.1 still breaks with {{AttributeError: 'module' object has no attribute 'ChangelogAwareDistribution'}} when installing Airflow from git with "python setup.py". Digging deeper, the problem is that python-daemon's setup.py has an {{import version}}, which works fine when installing python-daemon by itself (e.g. with {{pip install python-daemon}}) but during Airflow's installation {{version}} is already imported to refer to airflow/version.py.

> Setup.py error : attribute error: 'module' object has no attribute 'changelogawaredistribution'
> -----------------------------------------------------------------------------------------------
>
>                 Key: AIRFLOW-624
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-624
>             Project: Apache Airflow
>          Issue Type: Bug
>            Reporter: Siddharth Anand
>            Assignee: Siddharth Anand
>
> I ran setup.py within a fresh virtualenv.
> Setup.py is failing with the following error : 
> attribute error: 'module' object has no attribute 'changelogawaredistribution'
> This error occurs when installing python-daemon. It turns out this is related to a new version of python daemon (2.1.2). 
> Pinning the version of python-daemon to 2.1.2 resolves the issue. 
> -            'python-daemon>=2.1.1, <2.2',
> +            'python-daemon>=2.1.1, <2.1.2',



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)