Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow python version=3.12 in docker script build_image.sh #3332

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

fabridamicelli
Copy link
Contributor

Description

Docker images are built using the script build_image.sh which takes the argument pythonversion.
Currently only versions 3.8, 3.9, 3.10 and 3.11 are allowed.
To the best of my knowledge there is no reason why we should not allow python 3.12 (please correct me if I am wrong).
This PR extends that list to include 3.12.

PS: If it is indeed the case that we should not allow 3.12, then it would be great to update the readme for consistency (currently only specifies python >= 3.8)

Type of change

  • New feature (non-breaking change which adds functionality)

Feature/Issue validation/testing

fabridamicelli added a commit to fabridamicelli/torchserve-docker that referenced this pull request Oct 1, 2024
TorchServe blocks the build.
We can get 3.12 back when this PR upstream is merged: pytorch/serve#3332
@mreso mreso self-requested a review October 1, 2024 17:39
@fabridamicelli
Copy link
Contributor Author

Hi @mreso

any ideas/comments on this? :)
Since python 3.8 has reached end-of-life and 3.13 was released, it'd be great to be able to bump the versions in the docker scripts.
Thanks in advance
F

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant