From b55a3928d14730f9623bd6bbb53fc649b7a0617a Mon Sep 17 00:00:00 2001 From: Andreas Motl Date: Wed, 20 Nov 2024 23:27:20 +0100 Subject: [PATCH] Apache Superset: Add version 4 to test matrix --- .github/workflows/application-apache-superset.yml | 2 +- application/apache-superset/superset_config.py | 5 +++++ application/apache-superset/test.py | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/application-apache-superset.yml b/.github/workflows/application-apache-superset.yml index eb00742a..fe40ee1a 100644 --- a/.github/workflows/application-apache-superset.yml +++ b/.github/workflows/application-apache-superset.yml @@ -40,7 +40,7 @@ jobs: fail-fast: false matrix: os: [ ubuntu-22.04 ] - superset-version: [ "3.*" ] + superset-version: [ "3.*", "4.*" ] python-version: [ "3.9", "3.11" ] cratedb-version: [ 'nightly' ] diff --git a/application/apache-superset/superset_config.py b/application/apache-superset/superset_config.py index f5094b65..9925d782 100644 --- a/application/apache-superset/superset_config.py +++ b/application/apache-superset/superset_config.py @@ -1,3 +1,8 @@ +# Disable telemetry using Scarf. +# https://about.scarf.sh/ +# https://github.com/apache/superset/issues/25639 +ENABLE_TELEMETRY = False + # Superset specific config ROW_LIMIT = 5000 diff --git a/application/apache-superset/test.py b/application/apache-superset/test.py index be426eb8..c0b99e9f 100644 --- a/application/apache-superset/test.py +++ b/application/apache-superset/test.py @@ -45,7 +45,7 @@ def test_ui(): Log in to Superset UI, navigate to SQL Lab, and exercise a query. """ uri_home = "http://127.0.0.1:8088/" - uri_sqllab = "http://127.0.0.1:8088/superset/sqllab" + uri_sqllab = "http://127.0.0.1:8088/sqllab" with sync_playwright() as p: browser = p.firefox.launch(