manasomali opened a new issue, #37297:
URL: https://github.com/apache/superset/issues/37297

   ### Bug description
   
   ## Environment
   - Superset version: 6.0.0
   - Docker image: apache/superset:6.0.0
   - Python version: 3.10
   - Orchestration: Kubernetes (kind cluster)
   - OS (host): Linux
   - Install method: pip install inside container
   
   ## Description
   
   The official Docker image apache/superset:6.0.0 fails to install or 
re-resolve Python dependencies because it includes a direct dependency on 
python-geohash==0.8.5, which requires compiling a C++ extension, but the image 
does not include a C++ compiler (g++) or build toolchain.
   This causes pip install to fail.
   This happens even when the user does not explicitly depend on 
python-geohash, since it is declared in: `superset/requirements/base.txt`.
   
   ## Steps to Reproduce
   
   - Run Superset using the official image: `docker run apache/superset:6.0.0`
   - pip attempts to build python-geohash
   
   ## Actual Behavior
   
   Installation fails with:
   ```
   building '_geohash' extension
   g++ ... -c src/geohash.cpp
   error: command 'g++' failed: No such file or directory
   ```
   
   ## Expected Behavior
   
   The official image includes the minimal build toolchain required by its own 
declared dependencies, or python-geohash is replaced by a pure-Python 
alternative or optionalized.
   
   
   ### Screenshots/recordings
   
   _No response_
   
   ### Superset version
   
   master / latest-dev
   
   ### Python version
   
   3.10
   
   ### Node version
   
   16
   
   ### Browser
   
   Chrome
   
   ### Additional context
   
   _No response_
   
   ### Checklist
   
   - [x] I have searched Superset docs and Slack and didn't find a solution to 
my problem.
   - [x] I have searched the GitHub issue tracker and didn't find a similar bug 
report.
   - [x] I have checked Superset's logs for errors and if I found a relevant 
Python stacktrace, I included it here as text in the "additional context" 
section.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to