You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Edward Capriolo (JIRA)" <ji...@apache.org> on 2018/12/21 16:38:00 UTC
[jira] [Commented] (AIRFLOW-2716) Replace new Python 3.7 keywords
[ https://issues.apache.org/jira/browse/AIRFLOW-2716?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16726882#comment-16726882 ]
Edward Capriolo commented on AIRFLOW-2716:
------------------------------------------
I have 1.10.1 and run into this with python 3.7
File "/Users/edwardcapriolo/Documents/airflow/venv/lib/python3.7/site-packages/tenacity/__init__.py", line 352
from tenacity.async import AsyncRetrying
^
SyntaxError: invalid syntax
> Replace new Python 3.7 keywords
> -------------------------------
>
> Key: AIRFLOW-2716
> URL: https://issues.apache.org/jira/browse/AIRFLOW-2716
> Project: Apache Airflow
> Issue Type: Bug
> Affects Versions: 1.10.0
> Reporter: Jacob Hayes
> Assignee: Jacob Hayes
> Priority: Major
> Fix For: 1.10.1, 2.0.0
>
>
> Python 3.7 added `async` and `await` as reserved keywords, so they need to be replaced with alternative names.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)