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

   ## Bug Description
   
   The `apache/superset:6.0.0-py312` Docker image is published, but the 
optional PostgreSQL dependency in `pyproject.toml` pins 
`psycopg2-binary==2.9.6`, which has no pre-built wheels for Python 3.12.
   
   ## How to Reproduce
   
   ```dockerfile
   FROM apache/superset:6.0.0-py312
   RUN pip install 'psycopg2-binary==2.9.6'
   ```
   
   Build fails with:
   ```
   error: command 'gcc' failed: No such file or directory
   ```
   
   ## Expected Behavior
   
   Optional database extras should be installable on all published Python 
version images.
   
   ## Suggested Fix
   
   Update `pyproject.toml`:
   ```toml
   postgres = ["psycopg2-binary>=2.9.9"]  # 2.9.9+ has py312 wheels
   ```
   
   ## Environment
   
   - Superset version: 6.0.0
   - Python version: 3.12 (official docker image)


-- 
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