[
https://issues.apache.org/jira/browse/AIRFLOW-4895?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16878870#comment-16878870
]
ASF subversion and git services commented on AIRFLOW-4895:
----------------------------------------------------------
Commit 977af469d38b0166d2dc62208c27ab0c50e7890d in airflow's branch
refs/heads/master from Xtreak
[ https://gitbox.apache.org/repos/asf?p=airflow.git;h=977af46 ]
[AIRFLOW-4895] Import Iterable from collections.abc to fix DeprecationWarning
in airflow.utils (#5533)
> DeprecationWarning in Python 3.7 while running tests
> ----------------------------------------------------
>
> Key: AIRFLOW-4895
> URL: https://issues.apache.org/jira/browse/AIRFLOW-4895
> Project: Apache Airflow
> Issue Type: Bug
> Components: ci
> Affects Versions: 2.0.0
> Environment: Ubuntu
> Reporter: Karthikeyan Singaravelan
> Assignee: Karthikeyan Singaravelan
> Priority: Trivial
>
> There is DeprecationWarning raised when running tests locally. This was
> introduced as part of AIRFLOW-3958 and commit
> 75bec88f04705884de58facaac97338a5b5b439a. This is similar to AIRFLOW-3009.
> Since the fix is simple enough I would like to work on this as my first
> contribution.
> DeprecationWarning in test
> {code:bash}
> /home/karthi/airflow/airflow/utils/helpers.py:26: 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 Iterable
> {code}
> Thanks
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)