-
-
Notifications
You must be signed in to change notification settings - Fork 3
chore: Add support Superset 6.0.0-rc2 #680
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
Conversation
Flask AppBuilder 5 no longer has the AUTH_OID module. It is possible a user still relies on this for old Superset versions.
Flask AppBuilder 5, for some reason, requires `RECAPTCHA_PUBLIC_KEY` to be set, or the UI cannot be used, and the following error is emitted on the container console:
```
File "/stackable/app/lib64/python3.11/site-packages/superset/views/base.py", line 417, in cached_common_bootstrap_data
frontend_config["RECAPTCHA_PUBLIC_KEY"] = app.config["RECAPTCHA_PUBLIC_KEY"]
~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
KeyError: 'RECAPTCHA_PUBLIC_KEY'
```
This requires the product image to be merged and built: stackabletech/docker-images#1337
By SDP 26.3, this should no longer be rc2
adwk67
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Tested with 4.1.4 and 6.0.0-rc2 builds from stackabletech/docker-images#1337.
Only thing I noticed is that the opa tests are bit ropey when run in parallel, though I didn't look into this in detail.
Test runs
--- FAIL: kuttl (2647.66s)
--- FAIL: kuttl/harness (0.00s)
--- PASS: kuttl/harness/ldap_superset-4.0.2_ldap-authentication-insecure-tls_openshift-false (137.40s)
--- PASS: kuttl/harness/logging_superset-4.0.2_openshift-false (148.77s)
--- PASS: kuttl/harness/external-access_superset-4.0.2_openshift-false (128.40s)
--- PASS: kuttl/harness/external-access_superset-6.0.0-rc2_openshift-false (128.70s)
--- PASS: kuttl/harness/external-access_superset-4.1.4_openshift-false (123.46s)
--- PASS: kuttl/harness/external-access_superset-4.1.2_openshift-false (278.63s)
--- PASS: kuttl/harness/oidc_superset-6.0.0-rc2_openshift-false (185.68s)
--- FAIL: kuttl/harness/opa_superset-6.0.0-rc2_opa-latest-1.8.0_openshift-false (211.98s)
--- FAIL: kuttl/harness/opa_superset-4.1.4_opa-latest-1.8.0_openshift-false (208.80s)
--- PASS: kuttl/harness/opa_superset-4.1.2_opa-latest-1.8.0_openshift-false (187.24s)
--- PASS: kuttl/harness/opa_superset-4.0.2_opa-latest-1.8.0_openshift-false (186.51s)
--- PASS: kuttl/harness/resources_superset-latest-6.0.0-rc2_openshift-false (135.11s)
--- PASS: kuttl/harness/smoke_superset-6.0.0-rc2_openshift-false (127.96s)
--- PASS: kuttl/harness/smoke_superset-4.1.4_openshift-false (96.54s)
--- PASS: kuttl/harness/smoke_superset-4.1.2_openshift-false (100.28s)
--- PASS: kuttl/harness/druid-connection_superset-6.0.0-rc2_openshift-false (79.53s)
--- PASS: kuttl/harness/smoke_superset-4.0.2_openshift-false (99.80s)
--- PASS: kuttl/harness/druid-connection_superset-4.1.4_openshift-false (77.98s)
--- PASS: kuttl/harness/druid-connection_superset-4.1.2_openshift-false (83.26s)
--- PASS: kuttl/harness/druid-connection_superset-4.0.2_openshift-false (79.54s)
--- PASS: kuttl/harness/cluster-operation_superset-latest-6.0.0-rc2_openshift-false (126.15s)
--- PASS: kuttl/harness/ldap_superset-4.1.4_ldap-authentication-server-verification-tls_openshift-false (146.33s)
--- PASS: kuttl/harness/oidc_superset-4.1.4_openshift-false (200.81s)
--- PASS: kuttl/harness/oidc_superset-4.1.2_openshift-false (195.44s)
--- PASS: kuttl/harness/oidc_superset-4.0.2_openshift-false (170.76s)
--- PASS: kuttl/harness/ldap_superset-6.0.0-rc2_ldap-authentication-server-verification-tls_openshift-false (120.98s)
--- PASS: kuttl/harness/ldap_superset-6.0.0-rc2_ldap-authentication-no-tls_openshift-false (73.36s)
--- PASS: kuttl/harness/ldap_superset-4.1.2_ldap-authentication-no-tls_openshift-false (110.01s)
--- PASS: kuttl/harness/ldap_superset-4.1.4_ldap-authentication-no-tls_openshift-false (110.00s)
--- PASS: kuttl/harness/ldap_superset-4.1.2_ldap-authentication-server-verification-tls_openshift-false (105.82s)
--- PASS: kuttl/harness/ldap_superset-4.1.4_ldap-authentication-insecure-tls_openshift-false (210.74s)
--- PASS: kuttl/harness/ldap_superset-4.0.2_ldap-authentication-server-verification-tls_openshift-false (98.08s)
--- PASS: kuttl/harness/ldap_superset-4.1.2_ldap-authentication-insecure-tls_openshift-false (112.82s)
--- PASS: kuttl/harness/ldap_superset-4.0.2_ldap-authentication-no-tls_openshift-false (107.19s)
--- PASS: kuttl/harness/logging_superset-4.1.4_openshift-false (151.56s)
--- PASS: kuttl/harness/ldap_superset-6.0.0-rc2_ldap-authentication-insecure-tls_openshift-false (123.03s)
--- PASS: kuttl/harness/logging_superset-4.1.2_openshift-false (161.48s)
--- PASS: kuttl/harness/logging_superset-6.0.0-rc2_openshift-false (163.44s)
FAIL
--- FAIL: kuttl (421.50s) // in parallel
--- FAIL: kuttl/harness (0.00s)
--- FAIL: kuttl/harness/opa_superset-4.0.2_opa-latest-1.8.0_openshift-false (204.78s)
--- FAIL: kuttl/harness/opa_superset-4.1.4_opa-latest-1.8.0_openshift-false (206.78s)
--- PASS: kuttl/harness/opa_superset-6.0.0-rc2_opa-latest-1.8.0_openshift-false (215.23s)
--- PASS: kuttl/harness/opa_superset-4.1.2_opa-latest-1.8.0_openshift-false (213.92s)
FAIL
--- PASS: kuttl (680.63s) // parallel = 1
--- PASS: kuttl/harness (0.00s)
--- PASS: kuttl/harness/opa_superset-4.0.2_opa-latest-1.8.0_openshift-false (167.00s)
--- PASS: kuttl/harness/opa_superset-4.1.4_opa-latest-1.8.0_openshift-false (172.06s)
--- PASS: kuttl/harness/opa_superset-6.0.0-rc2_opa-latest-1.8.0_openshift-false (173.85s)
--- PASS: kuttl/harness/opa_superset-4.1.2_opa-latest-1.8.0_openshift-false (166.94s)
PASS
Yeah I had some flakiness with both OPA and LDAP tests. I considered that external to this change. |
Part of stackabletech/docker-images#1329 (comment)
Caution
Depends on stackabletech/docker-images#1337 being merged and built.
Description
Add Superset 6.0.0 support.
Warning
Flask AppBuilder 5 no longer has the
AUTH_OIDmodule. It is possible a user still relies on this for old Superset versions.Do we need to make this conditional?
Definition of Done Checklist
Author
Reviewer
addedrunAcceptance
type/deprecationlabel & add to the deprecation scheduletype/experimentallabel & add to the experimental features tracker