Replies: 2 comments 2 replies
-
Hi @amotl. I converted your issue to a GitHub discussion as 2.x versions are not actively supported anymore. I'll ping @dpgaspar who might have more context about Flask App Builder and it's dependencies. Nevertheless, I highly recommend upgrading Superset to 3.1. |
Beta Was this translation helpful? Give feedback.
-
I'm seeing this same error message with these versions.
However the usecase is different.
|
Beta Was this translation helpful? Give feedback.
-
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
Beta Was this translation helpful? Give feedback.
All reactions