[
https://issues.apache.org/jira/browse/AIRFLOW-4375?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17016023#comment-17016023
]
Bas Harenslak commented on AIRFLOW-4375:
----------------------------------------
[~zhongjiajie] thanks for the notice, closed
> Replace airflow.utils.file.TemporaryDirectory by native
> tempfile.TemporaryDirectory
> -----------------------------------------------------------------------------------
>
> Key: AIRFLOW-4375
> URL: https://issues.apache.org/jira/browse/AIRFLOW-4375
> Project: Apache Airflow
> Issue Type: Sub-task
> Components: core
> Reporter: Bas Harenslak
> Assignee: Bas Harenslak
> Priority: Major
>
> Python 2 did not have a native temporarydirectory and I believe that's why
> there is airflow.utils.file.TemporaryDirectory.
> Since Python 3.2 this is supported by tempfile.TemporaryDirectory, so remove
> the Airflow util and replace by the native Python tempfile.TemporaryDirectory.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)