airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "George Sakkis (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AIRFLOW-624) Setup.py error : attribute error: 'module' object has no attribute 'changelogawaredistribution'
Date Sat, 21 Jan 2017 11:32:26 GMT

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

Mime
View raw message