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

[jira] [Commented] (AIRFLOW-4375) Replace airflow.utils.file.TemporaryDirectory by native tempfile.TemporaryDirectory

    [ https://issues.apache.org/jira/browse/AIRFLOW-4375?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17015828#comment-17015828 ] 

zhongjiajie commented on AIRFLOW-4375:
--------------------------------------

[~basph] [~kaxilnaik] This ticket is duplicates to https://issues.apache.org/jira/browse/AIRFLOW-6396 could you pls close this?

> 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)