airflow-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Driesprong, Fokko" <fo...@driesprong.frl>
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] {settings.py:213} INFO -
settings.configure_orm(): Using pool settings. pool_size=5,
max_overflow=10, pool_recycle=1800, pid=6

/usr/local/lib/python3.5/dist-packages/psycopg2/__init__.py:144:
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: <
http://initd.org/psycopg/docs/install.html#binary-install-from-pypi>.

  """)

[2019-09-16 21:10:41,188] {__init__.py:51} INFO - Using executor
KubernetesExecutor

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/cli.py", line
68, in <module>

    from airflow.www_rbac.app import cached_app as cached_app_rbac

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

    from flask_appbuilder import AppBuilder, SQLA

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

    from .base import AppBuilder

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

    from .api.manager import OpenApiManager

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

    from marshmallow_sqlalchemy.fields import Related, RelatedList

  File
"/usr/local/lib/python3.5/dist-packages/marshmallow_sqlalchemy/__init__.py",
line 1, in <module>

    from .schema import TableSchemaOpts, ModelSchemaOpts, TableSchema,
ModelSchema

  File
"/usr/local/lib/python3.5/dist-packages/marshmallow_sqlalchemy/schema.py",
line 3, in <module>

    from .convert import ModelConverter

  File
"/usr/local/lib/python3.5/dist-packages/marshmallow_sqlalchemy/convert.py",
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

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