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 2020/04/22 14:54:24 UTC

[GitHub] [airflow] mbaroody opened a new issue #8517: WTForms Breaking Change 2.3.0

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:
users@infra.apache.org



[GitHub] [airflow] boring-cyborg[bot] commented on issue #8517: WTForms Breaking Change 2.3.0

Posted by GitBox <gi...@apache.org>.
boring-cyborg[bot] commented on issue #8517:
URL: https://github.com/apache/airflow/issues/8517#issuecomment-617829304


   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] flinz commented on issue #8517: WTForms Breaking Change 2.3.0

Posted by GitBox <gi...@apache.org>.
flinz commented on issue #8517:
URL: https://github.com/apache/airflow/issues/8517#issuecomment-617848125


   Pinning WTForms==2.2.1 solves this for me.


----------------------------------------------------------------
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] mbaroody commented on issue #8517: WTForms Breaking Change 2.3.0

Posted by GitBox <gi...@apache.org>.
mbaroody commented on issue #8517:
URL: https://github.com/apache/airflow/issues/8517#issuecomment-617890738


   thank you @potiuk  :) 


----------------------------------------------------------------
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] imatsu commented on issue #8517: WTForms Breaking Change 2.3.0

Posted by GitBox <gi...@apache.org>.
imatsu commented on issue #8517:
URL: https://github.com/apache/airflow/issues/8517#issuecomment-617847125


   @mbaroody try to install it as recommended by the documentation in the [repository](https://github.com/apache/airflow#installing-from-pypi)


----------------------------------------------------------------
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 #8517: WTForms Breaking Change 2.3.0

Posted by GitBox <gi...@apache.org>.
potiuk commented on issue #8517:
URL: https://github.com/apache/airflow/issues/8517#issuecomment-617858630


   Closing as duplicate of #8512 
   
   Kind request @mbaroody -> could you please check if an issue has not already been reported/solved. You have "similar issues" link when you click create issue and I am sure if you click it after typing the issue title. you'd see both issues already created


----------------------------------------------------------------
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 #8517: WTForms Breaking Change 2.3.0

Posted by GitBox <gi...@apache.org>.
potiuk commented on issue #8517:
URL: https://github.com/apache/airflow/issues/8517#issuecomment-617859887


   Also FYI. We have this new description of how to make sure apache-airflow can be installed reliably always - no matter the dependencies change: https://github.com/apache/airflow#installing-from-pypi
   


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