This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Superset 2.x: AttributeError: module 'flask.json' has no attribute 'JSONEncoder'
#27204
Closed
2 of 3 tasks
Bug description
Hi there,
we are running integration tests with Apache Superset and CrateDB on behalf of our cratedb-examples repository. Two days ago, the corresponding CI job started failing with the error message
AttributeError: module 'flask.json' has no attribute 'JSONEncoder'
. The error happens when invokingsuperset db upgrade
, and only on Apache Superset 2.x.AttributeError: module 'flask.json' has no attribute 'JSONEncoder'
crate/cratedb-examples#313It baffles us that the error is apparently happening out of the blue, without any obvious things being changed. Everything worked well until two days ago.
Based on suggestions gathered on behalf of crate/cratedb-examples#313, we tried to fiddle with a few dependencies already, trying different combinations of versions around Flask and friends, but haven't been able to discover the root cause.
With kind regards,
Andreas.
How to reproduce the bug
Invoke
superset db upgrade
on the most recent Apache Superset 2.x, specifically Apache Superset 2.1.3.Screenshots/recordings
No response
Superset version
2.1.3
Python version
3.11
Node version
Not applicable
Browser
Not applicable
Additional context
Checklist
The text was updated successfully, but these errors were encountered: