airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Gregory (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AIRFLOW-2360) Create user in UI broken with latest SQL Alchemy
Date Mon, 23 Apr 2018 07:34:00 GMT
James Gregory created AIRFLOW-2360:
--------------------------------------

             Summary: Create user in UI broken with latest SQL Alchemy
                 Key: AIRFLOW-2360
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-2360
             Project: Apache Airflow
          Issue Type: Bug
          Components: webserver
    Affects Versions: 1.9.0
            Reporter: James Gregory


Installing airflow via pip and then clicking "Create user" in the web server UI displays a
Python error traceback

This is because the pip install of Airflow 1.9.0 pins flask-admin to 1.4.1, but sqlalchemy
1.1.17 and 1.1.18 break are incompatible with that version of flask admin. This is fixed in
flask-admin 1.5.1, or alternatively fixed by limiting the version of SQL Alchemy.

I.e. in airflow setup.py either sqlalchemy could become:

'sqlalchemy>=1.1.15, <=1.1.16',

Or flask-admin could become:

'flask-admin==1.5.1'

Perhaps flask-admin has been pinned to 1.4.1 to prevent new versions breaking things, in which
case the change to the sqlalchemy requirement would be safer.

The flask github issue is:

https://github.com/flask-admin/flask-admin/issues/1588



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

Mime
View raw message