[
https://issues.apache.org/jira/browse/AIRFLOW-4375?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bas Harenslak closed AIRFLOW-4375.
----------------------------------
Resolution: Duplicate
> 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)