You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Kousuke Saruta (Jira)" <ji...@apache.org> on 2020/01/08 11:13:00 UTC

[jira] [Updated] (AIRFLOW-6507) Replace the use of imp.load_source with another solution.

     [ https://issues.apache.org/jira/browse/AIRFLOW-6507?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kousuke Saruta updated AIRFLOW-6507:
------------------------------------
    Description: 
As of Python 3.4, imp module will be deprecated and recommended to use importlib.
[https://docs.python.org/3/library/imp.html]

Almost all the part of code in Airflow uses importlib except for imp.load_source in models/dagbag.py.

  was:
As of Python 3.4, impl module will be deprecated and recommended to use importlib.
[https://docs.python.org/3/library/imp.html]

Almost all the part of code in Airflow uses importlib except for impl.load_source in models/dagbag.py.


> Replace the use of imp.load_source with another solution.
> ---------------------------------------------------------
>
>                 Key: AIRFLOW-6507
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-6507
>             Project: Apache Airflow
>          Issue Type: Improvement
>          Components: models
>    Affects Versions: 1.10.8
>            Reporter: Kousuke Saruta
>            Assignee: Kousuke Saruta
>            Priority: Minor
>
> As of Python 3.4, imp module will be deprecated and recommended to use importlib.
> [https://docs.python.org/3/library/imp.html]
> Almost all the part of code in Airflow uses importlib except for imp.load_source in models/dagbag.py.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)