You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Ash Berlin-Taylor (JIRA)" <ji...@apache.org> on 2018/12/05 14:17:00 UTC

[jira] [Resolved] (AIRFLOW-3448) Syntax error when importing tenacity on python 3.7

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

Ash Berlin-Taylor resolved AIRFLOW-3448.
----------------------------------------
    Resolution: Duplicate

> Syntax error when importing tenacity on python 3.7
> --------------------------------------------------
>
>                 Key: AIRFLOW-3448
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-3448
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: hooks
>    Affects Versions: 1.10.1
>         Environment: Python 3.7
>            Reporter: Tiago Reis
>            Assignee: Tiago Reis
>            Priority: Major
>              Labels: easyfix
>             Fix For: 1.10.2
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Tenacity is used for the retry mechanism in HTTP hooks. With the introduction of {{async}} as a reserved keyword on Python 3.7, Tenacity 4.8.0 is broken with a syntax error from {{tenacity.async import AsyncRetrying}}. Updating to 4.10.0 will solve this



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)