You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/03/18 19:00:06 UTC
[GitHub] [airflow] POD666 opened a new issue #14884: Recent release of Flask-SQLAlchemy==2.5.0 breaks py27 compatibility
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:
users@infra.apache.org
[GitHub] [airflow] potiuk closed issue #14884: Recent release of Flask-SQLAlchemy==2.5.0 breaks py27 compatibility
Posted by GitBox <gi...@apache.org>.
potiuk closed issue #14884:
URL: https://github.com/apache/airflow/issues/14884
--
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:
users@infra.apache.org
[GitHub] [airflow] boring-cyborg[bot] commented on issue #14884: Recent release of Flask-SQLAlchemy==2.5.0 breaks py27 compatibility
Posted by GitBox <gi...@apache.org>.
boring-cyborg[bot] commented on issue #14884:
URL: https://github.com/apache/airflow/issues/14884#issuecomment-802209893
Thanks for opening your first issue here! Be sure to follow the issue template!
--
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:
users@infra.apache.org
[GitHub] [airflow] potiuk edited a comment on issue #14884: Recent release of Flask-SQLAlchemy==2.5.0 breaks py27 compatibility
Posted by GitBox <gi...@apache.org>.
potiuk edited a comment on issue #14884:
URL: https://github.com/apache/airflow/issues/14884#issuecomment-802247045
We are not pinning our dependencies. Reasons are explained in http://airflow.apache.org/docs/apache-airflow/stable/installation.html#constraints-files
Instead of pinning, you should use constraints to install Airflow; http://airflow.apache.org/docs/apache-airflow/stable/installation.html#installation-script . This is the only recommended way of installing Airflow that is guaranteed to work without manualle
In https://raw.githubusercontent.com/apache/airflow/constraints-1.10.9/constraints-2.7.txt you can see:
`Flask-SQLAlchemy==2.4.1`
So all is good.
--
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:
users@infra.apache.org
[GitHub] [airflow] potiuk commented on issue #14884: Recent release of Flask-SQLAlchemy==2.5.0 breaks py27 compatibility
Posted by GitBox <gi...@apache.org>.
potiuk commented on issue #14884:
URL: https://github.com/apache/airflow/issues/14884#issuecomment-802247045
We are not pinning our dependencies. Reasons are explained in http://airflow.apache.org/docs/apache-airflow/stable/installation.html#constraints-files
Instead of pinning, you should use constraints to install Airflow; http://airflow.apache.org/docs/apache-airflow/stable/installation.html#installation-script . This is the only recommended way of installing Airflow that is guaranteed to work without manualle
In https://raw.githubusercontent.com/apache/airflow/constraints-1.10.9/constraints-2.7.txt you can see"
`Flask-SQLAlchemy==2.4.1`
So all is good.
--
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:
users@infra.apache.org