This is an automated email from the ASF dual-hosted git repository.

maximebeauchemin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git


The following commit(s) were added to refs/heads/master by this push:
     new 9aa8b09505 docs: incorrect psycopg2 package in k8s install 
instructions (#31999)
9aa8b09505 is described below

commit 9aa8b095055e1c2985300b8043c878a571515361
Author: Benjami <[email protected]>
AuthorDate: Tue Feb 4 12:33:43 2025 +0200

    docs: incorrect psycopg2 package in k8s install instructions (#31999)
---
 docs/docs/installation/kubernetes.mdx | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/docs/docs/installation/kubernetes.mdx 
b/docs/docs/installation/kubernetes.mdx
index 6cb2096584..aab3c7b85d 100644
--- a/docs/docs/installation/kubernetes.mdx
+++ b/docs/docs/installation/kubernetes.mdx
@@ -150,6 +150,9 @@ Superset requires a Python DB-API database driver and a 
SQLAlchemy
 dialect to be installed for each datastore you want to connect to.
 
 See [Install Database Drivers](/docs/configuration/databases) for more 
information.
+It is recommended that you refer to versions listed in
+[pyproject.toml](https://github.com/apache/superset/blob/master/pyproject.toml)
+instead of hard-coding them in your bootstrap script, as seen below.
 
 :::
 
@@ -157,9 +160,9 @@ The following example installs the drivers for BigQuery and 
Elasticsearch, allow
 ```yaml
 bootstrapScript: |
   #!/bin/bash
-  pip install psycopg2==2.9.6 \
-    sqlalchemy-bigquery==1.6.1 \
-    elasticsearch-dbapi==0.2.5 &&\
+  pip install .[postgres] \
+    .[bigquery] \
+    .[elasticsearch] &&\
   if [ ! -f ~/bootstrap ]; then echo "Running Superset with uid {{ 
.Values.runAsUser }}" > ~/bootstrap; fi
 ```
 

Reply via email to