mbaroody opened a new issue #8517:
URL: https://github.com/apache/airflow/issues/8517


   Getting the following ImportError this morning: 
   
   ```
   *** waiting 10s...
   *** executing initdb
   [2020-04-22 14:47:47,388] {{settings.py:253}} INFO - 
settings.configure_orm(): Using pool settings. pool_size=5, max_overflow=10, 
pool_recycle=1800, pid=26
   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.7/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.7/site-packages/airflow/www_rbac/app.py", 
line 27, in <module>                                                           
       from flask_appbuilder import AppBuilder, SQLA
     File 
"/usr/local/lib/python3.7/site-packages/flask_appbuilder/__init__.py", line 6, 
in <module>                                                       
       from .base import AppBuilder  # noqa: F401
     File "/usr/local/lib/python3.7/site-packages/flask_appbuilder/base.py", 
line 8, in <module>                                                           
       from .api.manager import OpenApiManager
     File 
"/usr/local/lib/python3.7/site-packages/flask_appbuilder/api/manager.py", line 
7, in <module>                                                    
       from flask_appbuilder.baseviews import BaseView
     File 
"/usr/local/lib/python3.7/site-packages/flask_appbuilder/baseviews.py", line 
21, in <module>                                                     
       from .forms import GeneralModelConverter
     File "/usr/local/lib/python3.7/site-packages/flask_appbuilder/forms.py", 
line 17, in <module>                                                         
       from .fieldwidgets import (
     File 
"/usr/local/lib/python3.7/site-packages/flask_appbuilder/fieldwidgets.py", line 
3, in <module>                                                   
       from wtforms.widgets import html_params, HTMLString
   ImportError: cannot import name 'HTMLString' from 'wtforms.widgets' 
(/usr/local/lib/python3.7/site-packages/wtforms/widgets/__init__.py)            
    
   ```
   
   due to breaking change here in v2.3.0: 
https://github.com/wtforms/wtforms/compare/2.2.1...2.3.0#diff-6393540c887450b9738cb2eecc5bcad8
   
   


----------------------------------------------------------------
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]


Reply via email to