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

ASF subversion and git services commented on AIRFLOW-4900:
----------------------------------------------------------

Commit f2f6cc3424b900fe0e54ff310a2f94391e6f20a1 in airflow's branch 
refs/heads/v1-10-stable from Luqman Abdul Mushawwir
[ https://gitbox.apache.org/repos/asf?p=airflow.git;h=f2f6cc3 ]

[AIRFLOW-4900] Resolve incompatible version of Werkzeug (#5535)

* [AIRFLOW-4900] Resolve incompatible version of Werkzeug

Pin Werkzeug version to >= 0.15 as flask requirement needs it.

* Update setup.py

(cherry picked from commit 2b366934cdc20e8fb60b4b1e7b6c840a6708b258)


> Incompatible version of Werkzeug after Flask upgrade
> ----------------------------------------------------
>
>                 Key: AIRFLOW-4900
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-4900
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: webserver
>    Affects Versions: 1.10.3
>            Reporter: Luqman Abdul Mushawwir
>            Priority: Major
>             Fix For: 2.0.0
>
>
> On July 5th morning UTC+7, Flask have released version 1.1.0, which will be 
> used in airflow because we have requirements for flask as follows: 
> 'flask>=1.0, <2.0'
> However, flask pinned their Werkzeug to "Werkzeug>=0.15" which is 
> incompatible with airflow's Werkzeug ('werkzeug>=0.14.1, <0.15.0'), resulting 
> to error when doing "from airflow import model":
> _ERROR: Failure: ImportError (No module named 'werkzeug.wrappers.json'; 
> 'werkzeug.wrappers' is not a package)_



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

Reply via email to