[
https://issues.apache.org/jira/browse/AIRFLOW-871?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15873232#comment-15873232
]
ASF subversion and git services commented on AIRFLOW-871:
---------------------------------------------------------
Commit 21d775a9a4dc10cba7a73e373b2262ac9e3994b6 in incubator-airflow's branch
refs/heads/master from Marek Baczynski
[ https://git-wip-us.apache.org/repos/asf?p=incubator-airflow.git;h=21d775a ]
[AIRFLOW-871] change logging.warn() into warning()
This silences deprecation warnings, e.g.
airflow/airflow/utils/dag_processing.py:578:
DeprecationWarning: The
'warn' method is deprecated, use 'warning' instead
Closes #2082 from imbaczek/bug871
> multiple places use logging.warn() instead of warning()
> -------------------------------------------------------
>
> Key: AIRFLOW-871
> URL: https://issues.apache.org/jira/browse/AIRFLOW-871
> Project: Apache Airflow
> Issue Type: Bug
> Affects Versions: Airflow 2.0, Airflow 1.8, 1.8.1, 1.8.0
> Reporter: Marek BaczyĆski
> Priority: Trivial
> Labels: easyfix
> Fix For: 1.8.1
>
>
> This causes the following warning to be raised:
> airflow/airflow/utils/dag_processing.py:578: DeprecationWarning: The 'warn'
> method is deprecated, use 'warning' instead
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)