[
https://issues.apache.org/jira/browse/AIRFLOW-4895?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16878869#comment-16878869
]
ASF GitHub Bot commented on AIRFLOW-4895:
-----------------------------------------
ashb commented on pull request #5533: [AIRFLOW-4895] Import Iterable from
collections.abc to fix DeprecationWarning in Python 3.7
URL: https://github.com/apache/airflow/pull/5533
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> 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)