From bb40cb0f2313a684954e9ac9483d855c3f05d86d Mon Sep 17 00:00:00 2001 From: sebastianliebscher Date: Fri, 19 May 2023 17:52:50 +0200 Subject: [PATCH 1/3] chore(docker): bump db docker service to postgres:15 --- docker-compose-non-dev.yml | 2 +- docker-compose.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose-non-dev.yml b/docker-compose-non-dev.yml index 070a1bb12c605..ad6696d74a19d 100644 --- a/docker-compose-non-dev.yml +++ b/docker-compose-non-dev.yml @@ -34,7 +34,7 @@ services: db: env_file: docker/.env-non-dev - image: postgres:14 + image: postgres:15 container_name: superset_db restart: unless-stopped volumes: diff --git a/docker-compose.yml b/docker-compose.yml index c6af8e54f390c..95c1c2b28c628 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -40,7 +40,7 @@ services: db: env_file: docker/.env - image: postgres:14 + image: postgres:15 container_name: superset_db restart: unless-stopped ports: From a0bbd74a51f344a984b0f4f8e654c53e2eb9cef6 Mon Sep 17 00:00:00 2001 From: sebastianliebscher Date: Sat, 20 May 2023 12:03:15 +0200 Subject: [PATCH 2/3] bump pg in workflows --- .github/workflows/superset-applitool-cypress.yml | 2 +- .github/workflows/superset-cli.yml | 2 +- .github/workflows/superset-e2e.yml | 2 +- .github/workflows/superset-python-integrationtest.yml | 2 +- .github/workflows/superset-python-presto-hive.yml | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/superset-applitool-cypress.yml b/.github/workflows/superset-applitool-cypress.yml index 7222ed17d41c5..0198332e71862 100644 --- a/.github/workflows/superset-applitool-cypress.yml +++ b/.github/workflows/superset-applitool-cypress.yml @@ -40,7 +40,7 @@ jobs: APPLITOOLS_BATCH_NAME: Superset Cypress services: postgres: - image: postgres:14-alpine + image: postgres:15-alpine env: POSTGRES_USER: superset POSTGRES_PASSWORD: superset diff --git a/.github/workflows/superset-cli.yml b/.github/workflows/superset-cli.yml index 129ecc117abce..b4c0a18ca1412 100644 --- a/.github/workflows/superset-cli.yml +++ b/.github/workflows/superset-cli.yml @@ -21,7 +21,7 @@ jobs: SUPERSET__SQLALCHEMY_DATABASE_URI: postgresql+psycopg2://superset:superset@127.0.0.1:15432/superset services: postgres: - image: postgres:14-alpine + image: postgres:15-alpine env: POSTGRES_USER: superset POSTGRES_PASSWORD: superset diff --git a/.github/workflows/superset-e2e.yml b/.github/workflows/superset-e2e.yml index e1b090a5f3994..44677e6e7c757 100644 --- a/.github/workflows/superset-e2e.yml +++ b/.github/workflows/superset-e2e.yml @@ -34,7 +34,7 @@ jobs: GITHUB_TOKEN: ${{ github.token }} services: postgres: - image: postgres:14-alpine + image: postgres:15-alpine env: POSTGRES_USER: superset POSTGRES_PASSWORD: superset diff --git a/.github/workflows/superset-python-integrationtest.yml b/.github/workflows/superset-python-integrationtest.yml index 40096c2eb8ec3..37c6e76ec95f5 100644 --- a/.github/workflows/superset-python-integrationtest.yml +++ b/.github/workflows/superset-python-integrationtest.yml @@ -88,7 +88,7 @@ jobs: SUPERSET__SQLALCHEMY_DATABASE_URI: postgresql+psycopg2://superset:superset@127.0.0.1:15432/superset services: postgres: - image: postgres:14-alpine + image: postgres:15-alpine env: POSTGRES_USER: superset POSTGRES_PASSWORD: superset diff --git a/.github/workflows/superset-python-presto-hive.yml b/.github/workflows/superset-python-presto-hive.yml index 9349549848449..faf6dbfd28803 100644 --- a/.github/workflows/superset-python-presto-hive.yml +++ b/.github/workflows/superset-python-presto-hive.yml @@ -23,7 +23,7 @@ jobs: SUPERSET__SQLALCHEMY_EXAMPLES_URI: presto://localhost:15433/memory/default services: postgres: - image: postgres:14-alpine + image: postgres:15-alpine env: POSTGRES_USER: superset POSTGRES_PASSWORD: superset @@ -101,7 +101,7 @@ jobs: UPLOAD_FOLDER: /tmp/.superset/uploads/ services: postgres: - image: postgres:14-alpine + image: postgres:15-alpine env: POSTGRES_USER: superset POSTGRES_PASSWORD: superset From f9549161033ee4922589398f927d351c611ca391 Mon Sep 17 00:00:00 2001 From: sebastianliebscher Date: Mon, 22 May 2023 23:27:30 +0200 Subject: [PATCH 3/3] update docs: support pg15 --- docs/docs/installation/configuring-superset.mdx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/docs/installation/configuring-superset.mdx b/docs/docs/installation/configuring-superset.mdx index 08c6796d38713..eb0d8aace6e6e 100644 --- a/docs/docs/installation/configuring-superset.mdx +++ b/docs/docs/installation/configuring-superset.mdx @@ -103,10 +103,10 @@ database engine on a separate host or container. Superset supports the following database engines/versions: -| Database Engine | Supported Versions | -| --------------------------------------------------------- | --------------------------------- | -| [PostgreSQL](https://www.postgresql.org/) | 10.X, 11.X, 12.X, 13.X, 14.X | -| [MySQL](https://www.mysql.com/) | 5.X | +| Database Engine | Supported Versions | +| --------------------------------------------------------- | ---------------------------------- | +| [PostgreSQL](https://www.postgresql.org/) | 10.X, 11.X, 12.X, 13.X, 14.X, 15.X | +| [MySQL](https://www.mysql.com/) | 5.X | Use the following database drivers and connection strings: