You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "padbk (via GitHub)" <gi...@apache.org> on 2024/10/22 10:47:31 UTC

[I] No Python 3.11 images on DockerHub [superset]

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

   ### Bug description
   
   I note that Superset 4.1.0rc3 supports python 3.11
   https://github.com/apache/superset/blob/03b72628fabe3d5277e95c387c7450898acbab53/pyproject.toml#L35
   
   But there are no images on Dockerhub that use 3.11:
   https://hub.docker.com/r/apache/superset/tags?name=py311
   
   The docker build script seems to contain the logic to create a 3.11 image:
   https://github.com/apache/superset/blob/03b72628fabe3d5277e95c387c7450898acbab53/scripts/build_docker.py#L152
   
   But I don't think this script is being run by the machine that is pushing the images to Dockerhub?
   
   ### Screenshots/recordings
   
   _No response_
   
   ### Superset version
   
   master / latest-dev
   
   ### Python version
   
   3.11
   
   ### Node version
   
   Not applicable
   
   ### Browser
   
   Not applicable
   
   ### 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: notifications-unsubscribe@superset.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] No Python 3.11 images on DockerHub [superset]

Posted by "padbk (via GitHub)" <gi...@apache.org>.
padbk commented on issue #30672:
URL: https://github.com/apache/superset/issues/30672#issuecomment-2428968570

   I've had a look in Github Actions, but can't see what needs to be changed. Please can someone more familiar take a look 🙏 


-- 
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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] No Python 3.11 images on DockerHub [superset]

Posted by "padbk (via GitHub)" <gi...@apache.org>.
padbk commented on issue #30672:
URL: https://github.com/apache/superset/issues/30672#issuecomment-2442180029

   Made a PR. Not sure if this is enough to push a 3.11 image to dockerhub. Grateful if someone can review please.


-- 
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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] No Python 3.11 images on DockerHub [superset]

Posted by "dosubot[bot] (via GitHub)" <gi...@apache.org>.
dosubot[bot] commented on issue #30672:
URL: https://github.com/apache/superset/issues/30672#issuecomment-2428947586

   <!-- Answer -->
   The issue you're encountering might be due to the `build_docker.py` script not being triggered or executed in the CI/CD pipeline responsible for pushing images to Docker Hub. While the script does contain logic for building Python 3.11 images, there might be missing configurations or triggers in the CI/CD setup that prevent it from running.
   
   The CI/CD setup for Apache Superset uses GitHub Actions to build and push Docker images. However, specific triggers or configurations for executing the `build_docker.py` script, especially for the Python 3.11 images, might not be correctly set up or documented <sup>[[1]](https://github.com/apache/superset/blob/master/docs/docs/installation/docker-builds.mdx)</sup>.
   
   Additionally, ensure that the necessary environment variables, such as `DOCKERHUB_USER` and `DOCKERHUB_TOKEN`, are set, as these are required for authentication to push images <sup>[[2]](https://github.com/apache/superset/blob/master/scripts/build_docker.py)</sup>. You might want to check the GitHub Actions workflows, particularly the `docker.yml` file, to verify if the `py311` build preset is included in the build matrix or if there are any conditions that might prevent its execution.
   
   
   <!-- Dosu Comment Footer -->
   *To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
   


-- 
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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] No Python 3.11 images on DockerHub [superset]

Posted by "mistercrunch (via GitHub)" <gi...@apache.org>.
mistercrunch closed issue #30672: No Python 3.11 images on DockerHub
URL: https://github.com/apache/superset/issues/30672


-- 
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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org