airflow-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Driesprong, Fokko" <>
Subject Airflow 1.10.5 Python 2.7 compatability
Date Mon, 16 Sep 2019 21:17:16 GMT
Hi guys,

While preparing a training, I think we have another incompatible dependency
that screws up Python 2.7 compatibility:

MacBook-Pro-van-Fokko:airspark fokkodriesprong$ kubectl logs
airflow-deployment-f55b986f-5tmt7 webserver

[2019-09-16 21:10:40,045] {} INFO -
settings.configure_orm(): Using pool settings. pool_size=5,
max_overflow=10, pool_recycle=1800, pid=6

UserWarning: The psycopg2 wheel package will be renamed from release 2.8;
in order to keep installing from binary please use "pip install
psycopg2-binary" instead. For details see: <>.


[2019-09-16 21:10:41,188] {} INFO - Using executor

Traceback (most recent call last):

  File "/usr/local/bin/airflow", line 22, in <module>

    from airflow.bin.cli import CLIFactory

  File "/usr/local/lib/python3.5/dist-packages/airflow/bin/", line
68, in <module>

    from import cached_app as cached_app_rbac

  File "/usr/local/lib/python3.5/dist-packages/airflow/www_rbac/",
line 26, in <module>

    from flask_appbuilder import AppBuilder, SQLA

"/usr/local/lib/python3.5/dist-packages/flask_appbuilder/", line
5, in <module>

    from .base import AppBuilder

  File "/usr/local/lib/python3.5/dist-packages/flask_appbuilder/",
line 5, in <module>

    from .api.manager import OpenApiManager

line 11, in <module>

    from marshmallow_sqlalchemy.fields import Related, RelatedList

line 1, in <module>

    from .schema import TableSchemaOpts, ModelSchemaOpts, TableSchema,

line 3, in <module>

    from .convert import ModelConverter

line 80


It looks like it is coming from the flask_appbuilder. I'll look into more
details somewhere tomorrow, and provide a PR. Did more people run into this?

Cheers, Fokko

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message