fix: Pin itsdangerous#14627
Merged
john-bodley merged 1 commit intoMay 14, 2021
Merged
Conversation
81f770a to
2c8bc91
Compare
Codecov Report
@@ Coverage Diff @@
## master #14627 +/- ##
=======================================
Coverage 77.38% 77.38%
=======================================
Files 959 959
Lines 48467 48467
Branches 5678 5678
=======================================
Hits 37508 37508
Misses 10759 10759
Partials 200 200
Flags with carried forward coverage won't be shown. Click here to find out more. Continue to review full report at Codecov.
|
betodealmeida
approved these changes
May 13, 2021
Member
betodealmeida
left a comment
There was a problem hiding this comment.
Agree, I think it's good to freeze this before it breaks anything.
2c8bc91 to
da70b3f
Compare
da70b3f to
1504e51
Compare
john-bodley
added a commit
to airbnb/superset-fork
that referenced
this pull request
May 14, 2021
Co-authored-by: John Bodley <john.bodley@airbnb.com> (cherry picked from commit 2bd0b62)
cccs-RyanS
pushed a commit
to CybercentreCanada/superset
that referenced
this pull request
Dec 17, 2021
Co-authored-by: John Bodley <john.bodley@airbnb.com>
QAlexBall
pushed a commit
to QAlexBall/superset
that referenced
this pull request
Dec 29, 2021
Co-authored-by: John Bodley <john.bodley@airbnb.com>
cccs-rc
pushed a commit
to CybercentreCanada/superset
that referenced
this pull request
Mar 6, 2024
Co-authored-by: John Bodley <john.bodley@airbnb.com>
qfcwell
pushed a commit
to qfcwell/superset
that referenced
this pull request
May 12, 2026
Co-authored-by: John Bodley <john.bodley@airbnb.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
SUMMARY
Version 2.0.0 of the itsdangerous package was recently released (May 12, 2021) which replaces the
simplejsonwithjsonwhich cannot decodedecimal.Decimalobjects, i.e.,Eventually when we update Flask we will need to deal with this as it also removes
simplejson(pallets/flask#3555) and doesn't rely on onitsdangerousfor defining which JSON package to use per pallets/flask#3562.I tried using the logic they suggested (to help future proof ourselves), i.e., in
superset/app.pyhowever I ran into a somewhat similar problem,
which is somewhat perplexing, i.e., I'm not sure why this is problematic and I couldn't find any JSON encoders in Superset, Flask, or Flask-SQLAlchemy which handled serializing SQLAlchemy
Tableobjects. For now to remedy any issues resulting frompip installingApache Superset I thought there was merit in simply restricting the version ofitsdangerous.Note the generated requirements were updated via,
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
TEST PLAN
ADDITIONAL INFORMATION