POD666 opened a new issue #14884:
URL: https://github.com/apache/airflow/issues/14884
The recent release of Flask-SQLAlchemy==2.5.0 breaks py27 compatibility
**Apache Airflow version**: 1.10.9
**What happened**:
```
Traceback (most recent call last):
...
from airflow.bin.cli import CLIFactory
File
"...tox/dbnd-aws/py27/lib/python2.7/site-packages/airflow/bin/cli.py", line 71,
in <module>
from airflow.www_rbac.app import cached_app as cached_app_rbac
File
"...tox/dbnd-aws/py27/lib/python2.7/site-packages/airflow/www_rbac/app.py",
line 27, in <module>
from flask_appbuilder import AppBuilder, SQLA
File
"...tox/dbnd-aws/py27/lib/python2.7/site-packages/flask_appbuilder/__init__.py",
line 4, in <module>
from .models.sqla import Model, Base, SQLA
File
"...tox/dbnd-aws/py27/lib/python2.7/site-packages/flask_appbuilder/models/sqla/__init__.py",
line 5, in <module>
from flask_sqlalchemy import SQLAlchemy, DefaultMeta, _QueryProperty
File
"...tox/dbnd-aws/py27/lib/python2.7/site-packages/flask_sqlalchemy/__init__.py",
line 39, in <module>
from threading import get_ident as _ident_func
ImportError: cannot import name get_ident
```
**Anything else we need to know**:
https://github.com/pallets/flask-sqlalchemy/issues/936
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]