You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/09/05 11:59:00 UTC

[jira] [Commented] (AIRFLOW-3009) Python 3.7 import collections.abc deprecation warning

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

ASF GitHub Bot commented on AIRFLOW-3009:
-----------------------------------------

fralalonde opened a new pull request #3849: [AIRFLOW-3009] Fix Python 3.7 deprecation warning for import collections abc
URL: https://github.com/apache/incubator-airflow/pull/3849
 
 
   This is a fix for https://issues.apache.org/jira/browse/AIRFLOW-3009
   
   After pip-installing Airflow from source, the following warning message appears upon entering any airflow command from the prompt:
   ```
   /usr/lib/python3.7/site-packages/airflow/models.py:29: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop workingfrom collections import namedtuple, defaultdict, Hashable
   ```
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Python 3.7 import collections.abc deprecation warning 
> ------------------------------------------------------
>
>                 Key: AIRFLOW-3009
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-3009
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.10.0
>         Environment: Arch Linux, Python 3.7
>            Reporter: Francis Lalonde
>            Priority: Minor
>
> After pip-installing Airflow from source, the following warning message appears upon entering any airflow command from the prompt:
> {{/usr/lib/python3.7/site-packages/airflow/models.py:29: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working}}{{from collections import namedtuple, defaultdict, Hashable}}
>  



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