This is an automated email from the ASF dual-hosted git repository. michaelsmolina pushed a commit to branch 5.0 in repository https://gitbox.apache.org/repos/asf/superset.git
commit adce138484e0be60bf44d13548f482fe967bc4d2 Author: Maxime Beauchemin <[email protected]> AuthorDate: Wed Feb 12 15:37:54 2025 -0800 docs: adding notes about using uv instead of raw pip (#32239) --- UPDATING.md | 1 + docs/docs/installation/kubernetes.mdx | 18 ++++++++++-------- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/UPDATING.md b/UPDATING.md index eaaea09dc6..a7d2ebf053 100644 --- a/UPDATING.md +++ b/UPDATING.md @@ -46,6 +46,7 @@ assists people when migrating to a new version. - [25166](https://github.com/apache/superset/pull/25166) Changed the default configuration of `UPLOAD_FOLDER` from `/app/static/uploads/` to `/static/uploads/`. It also removed the unused `IMG_UPLOAD_FOLDER` and `IMG_UPLOAD_URL` configuration options. - [30284](https://github.com/apache/superset/pull/30284) Deprecated GLOBAL_ASYNC_QUERIES_REDIS_CONFIG in favor of the new GLOBAL_ASYNC_QUERIES_CACHE_BACKEND configuration. To leverage Redis Sentinel, set CACHE_TYPE to RedisSentinelCache, or use RedisCache for standalone Redis - [31961](https://github.com/apache/superset/pull/31961) Upgraded React from version 16.13.1 to 17.0.2. If you are using custom frontend extensions or plugins, you may need to update them to be compatible with React 17. +- [31260](https://github.com/apache/superset/pull/31260) Docker images now use `uv pip install` instead of `pip install` to manage the python envrionment. Most docker-based deployments will be affected, whether you derive one of the published images, or have custom bootstrap script that install python libraries (drivers) ## 4.1.0 diff --git a/docs/docs/installation/kubernetes.mdx b/docs/docs/installation/kubernetes.mdx index 6cb2096584..9d79f7f2b2 100644 --- a/docs/docs/installation/kubernetes.mdx +++ b/docs/docs/installation/kubernetes.mdx @@ -1,16 +1,17 @@ --- -title: Kubernetes +title: Kubernetes hide_title: true sidebar_position: 2 version: 1 --- -import useBaseUrl from "@docusaurus/useBaseUrl"; +import useBaseUrl from '@docusaurus/useBaseUrl'; # Installing on Kubernetes -<img src={useBaseUrl("/img/k8s.png" )} width="150" /> -<br /><br /> +<img src={useBaseUrl('/img/k8s.png')} width="150" /> +<br /> +<br /> Running Superset on Kubernetes is supported with the provided [Helm](https://helm.sh/) chart found in the official [Superset helm repository](https://apache.github.io/superset/index.yaml). @@ -134,7 +135,7 @@ init: ``` :::note -Superset uses [Scarf Gateway](https://about.scarf.sh/scarf-gateway) to collect telemetry data. Knowing the installation counts for different Superset versions informs the project's decisions about patching and long-term support. Scarf purges personally identifiable information (PII) and provides only aggregated statistics. +Superset uses [Scarf Gateway](https://about.scarf.sh/scarf-gateway) to collect telemetry data. Knowing the installation counts for different Superset versions informs the project's decisions about patching and long-term support. Scarf purges personally identifiable information (PII) and provides only aggregated statistics. To opt-out of this data collection in your Helm-based installation, edit the `repository:` line in your `helm/superset/values.yaml` file, replacing `apachesuperset.docker.scarf.sh/apache/superset` with `apache/superset` to pull the image directly from Docker Hub. ::: @@ -154,10 +155,11 @@ See [Install Database Drivers](/docs/configuration/databases) for more informati ::: The following example installs the drivers for BigQuery and Elasticsearch, allowing you to connect to these data sources within your Superset setup: + ```yaml bootstrapScript: | #!/bin/bash - pip install psycopg2==2.9.6 \ + uv pip install psycopg2==2.9.6 \ sqlalchemy-bigquery==1.6.1 \ elasticsearch-dbapi==0.2.5 &&\ if [ ! -f ~/bootstrap ]; then echo "Running Superset with uid {{ .Values.runAsUser }}" > ~/bootstrap; fi @@ -191,7 +193,7 @@ Those can be passed as key/values either with `extraEnv` or `extraSecretEnv` if extraEnv: SMTP_HOST: smtp.gmail.com SMTP_USER: [email protected] - SMTP_PORT: "587" + SMTP_PORT: '587' SMTP_MAIL_FROM: [email protected] extraSecretEnv: @@ -352,7 +354,7 @@ supersetCeleryBeat: extraEnv: SMTP_HOST: smtp.gmail.com SMTP_USER: [email protected] - SMTP_PORT: "587" + SMTP_PORT: '587' SMTP_MAIL_FROM: [email protected] extraSecretEnv:
