-
Notifications
You must be signed in to change notification settings - Fork 13.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(dashboard)!: Downgrade WTForms to >=2.3.3, <3.1.0 due to compatibility issues #25643
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -130,7 +130,7 @@ def get_git_sha() -> str: | |||
"typing-extensions>=4, <5", | |||
"waitress; sys_platform == 'win32'", | |||
"werkzeug>=2.3.3, <3", | |||
"wtforms>=2.3.3, <4", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was fixed on FAB and bumped here: #25712
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Confirmed. Would it be appropriate for me to close this PR now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just posted on #25631 asking them to confirm that the issue does not persist in Superset 3.0.2, which uses a newer version of FAB. Especially if someone can confirm that this issue is solved, then I would think this PR can be closed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I closed the other issue because of a lack of response. I'm guessing it's safe now to close this issue, but let me know if anyone disagrees!
SUMMARY
While installing Superset via pip, WTForms version 3.1.0 is fetched, which is incompatible. Pinning the version to 3.0.1 resolves errors on pages like 'List Users', 'Roles', and 'Activity'.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
Please refer to the following issues for more screenshots and further details:
Fixes #25622
Fixes #25631
TESTING INSTRUCTIONS
pip uninstall wtforms
) and reinstall the compatible version (pip install wtforms==3.0.1
). The error should no longer be present when you navigate to the /users endpointAdditional Observation:
Post this update, a UI issue was observed when I ran
pip install .
instead ofpip install apache-superset
as per the documentation. However, this seems unrelated to the changes in setup.py since it persists even when reverting to the original state and running the same command. Any insights into this would be appreciated.ADDITIONAL INFORMATION