Webserver doesnt start with WTForms==2.3.0
See original GitHub issueApache Airflow version: 1.10.7
Kubernetes version (if you are using kubernetes) (use kubectl version
):
Environment: local
- Cloud provider or hardware configuration: 3Ghz Intel Core i5, 16GB
- OS (e.g. from /etc/os-release): Debian 9
- Kernel (e.g.
uname -a
): Linux debian 4.9.0-12-amd64 #1 SMP Debian 4.9.210-1 (2020-01-20) x86_64 GNU/Linux - Install tools:
- Others:
What happened:
Traceback (most recent call last): File “/usr/local/bin/airflow”, line 26, in <module> from airflow.bin.cli import CLIFactory File “/usr/local/lib/python3.6/site-packages/airflow/bin/cli.py”, line 71, in <module> from airflow.www_rbac.app import cached_app as cached_app_rbac File “/usr/local/lib/python3.6/site-packages/airflow/www_rbac/app.py”, line 26, in <module> from flask_appbuilder import AppBuilder, SQLA File “/usr/local/lib/python3.6/site-packages/flask_appbuilder/init.py”, line 6, in <module> from .base import AppBuilder # noqa: F401 File “/usr/local/lib/python3.6/site-packages/flask_appbuilder/base.py”, line 8, in <module> from .api.manager import OpenApiManager File “/usr/local/lib/python3.6/site-packages/flask_appbuilder/api/manager.py”, line 7, in <module> from flask_appbuilder.baseviews import BaseView File “/usr/local/lib/python3.6/site-packages/flask_appbuilder/baseviews.py”, line 21, in <module> from .forms import GeneralModelConverter File “/usr/local/lib/python3.6/site-packages/flask_appbuilder/forms.py”, line 17, in <module> from .fieldwidgets import ( File “/usr/local/lib/python3.6/site-packages/flask_appbuilder/fieldwidgets.py”, line 3, in <module> from wtforms.widgets import html_params, HTMLString ImportError: cannot import name ‘HTMLString’
It seems that after the release of WTForms==2.3.0 webserver doesnt start Changing it back to WTForms==2.2.1 solves the issue
How to reproduce it: Use WTForms==2.3.0
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:5 (1 by maintainers)
Top GitHub Comments
Closing as duplicate #8512. You can also install airflow using pinned requirements that are already released in 1.10.10. See also #8513 with detail description of repeatable installation process.
I see they already updated setup.py in airflow to use 2.2.1 https://github.com/apache/airflow/blob/1d5d6613a14ae3120093979cb31ae8b0de90c2d4/setup.py#L601, but not released it yet.