Skip to content
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: bump FAB to 4.5.2 #30688

Merged
merged 3 commits into from
Oct 24, 2024
Merged

fix: bump FAB to 4.5.2 #30688

merged 3 commits into from
Oct 24, 2024

Conversation

dpgaspar
Copy link
Member

@dpgaspar dpgaspar commented Oct 23, 2024

SUMMARY

WTForms 3.2.X breaks superset with the following error:

AttributeError: 'tuple' object has no attribute 'items'

More details on: dpgaspar/Flask-AppBuilder#2279

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TESTING INSTRUCTIONS

ADDITIONAL INFORMATION

  • Has associated issue:
  • Required feature flags:
  • Changes UI
  • Includes DB Migration (follow approval process in SIP-59)
    • Migration is atomic, supports rollback & is backwards-compatible
    • Confirm DB migration upgrade and downgrade tested
    • Runtime estimates and downtime expectations provided
  • Introduces new feature or API
  • Removes existing feature or API

Copy link

codecov bot commented Oct 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.91%. Comparing base (76d897e) to head (37436a1).
Report is 877 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff             @@
##           master   #30688       +/-   ##
===========================================
+ Coverage   60.48%   83.91%   +23.42%     
===========================================
  Files        1931      533     -1398     
  Lines       76236    38682    -37554     
  Branches     8568        0     -8568     
===========================================
- Hits        46114    32460    -13654     
+ Misses      28017     6222    -21795     
+ Partials     2105        0     -2105     
Flag Coverage Δ
hive 48.92% <ø> (-0.25%) ⬇️
javascript ?
mysql 76.77% <ø> (?)
postgres 76.87% <ø> (?)
presto 53.39% <ø> (-0.42%) ⬇️
python 83.91% <ø> (+20.42%) ⬆️
sqlite 76.32% <ø> (?)
unit 60.87% <ø> (+3.24%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@dpgaspar dpgaspar changed the title chore: bump FAB to 4.5.2 fix: bump FAB to 4.5.2 Oct 23, 2024
Copy link
Member

@betodealmeida betodealmeida left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@michael-s-molina
Copy link
Member

@dpgaspar Will we need to cherry-pick this into 4.1 which uses wtforms==3.1.2? I'm understanding that this fix is for 3.2.X which would make it not required for 4.1. Is that correct? @sadpandajoe

@michael-s-molina michael-s-molina added the review:checkpoint Last PR reviewed during the daily review standup label Oct 23, 2024
Copy link
Member

@villebro villebro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. However, should we add a lower bound here, too?

"flask-appbuilder>=4.5.0, <5.0.0",

@dpgaspar
Copy link
Member Author

@dpgaspar Will we need to cherry-pick this into 4.1 which uses wtforms==3.1.2? I'm understanding that this fix is for 3.2.X which would make it not required for 4.1. Is that correct? @sadpandajoe

yes, I think thats safe to say, if our users install superset without using 4.1 specific dep requirements they will automatically upgrade WTForms and FAB

@dpgaspar
Copy link
Member Author

LGTM. However, should we add a lower bound here, too?

"flask-appbuilder>=4.5.0, <5.0.0",

No strong opinions about it

@dpgaspar dpgaspar merged commit ee3befb into apache:master Oct 24, 2024
40 checks passed
@dpgaspar dpgaspar deleted the chore/fab-4.5.2 branch October 24, 2024 11:35
@michael-s-molina michael-s-molina removed the review:checkpoint Last PR reviewed during the daily review standup label Oct 24, 2024
mistercrunch pushed a commit that referenced this pull request Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants