Upgrade from 0.38.0 to 1.0.0 fails #19203
Replies: 5 comments
-
Looks like it's related to https://medium.com/the-andela-way/alembic-how-to-add-a-non-nullable-field-to-a-populated-table-998554003134 |
Beta Was this translation helpful? Give feedback.
-
I worked around this by updating a portion of the file af30ca79208f_collapse_alerting_models_into_a_single_.py:
Judging by the comment, this section should apply to mysql only, however, my superset instance is backed by the postgres db. |
Beta Was this translation helpful? Give feedback.
-
I am investigating a 0.38.0 -> 1.0.0 upgrade as well. We are deployed into k8s using a Helm chart based on the one provided in the Superset repo. I'm also running on Postgres. I haven't yet tried an upgrade but plan to sometime this week. I will see if I am able to repro the bug you're reporting here. |
Beta Was this translation helpful? Give feedback.
-
We have the same issue ( |
Beta Was this translation helpful? Give feedback.
-
The problem was coming from the |
Beta Was this translation helpful? Give feedback.
-
A clear and concise description of what the bug is.
Expected results
A successfull upgrade from 0.38.0 to 1.0.0
Actual results.
superset db upgrade command has failed with:
pkg_resources.ContextualVersionConflict: (PyJWT 2.0.1 (/usr/local/lib/python3.8/site-packages), Requirement.parse('PyJWT<2.0,>=1.6.4'), {'Flask-JWT-Extended'})
After manually downgrading the pyjwt to 1.7.1 I ran the superset db upgrade again, and this time another error popped up:
Beta Was this translation helpful? Give feedback.
All reactions