-
Notifications
You must be signed in to change notification settings - Fork 123
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
No support for Python 3.10 #129
Comments
Hi @peter-wimsey , we usually keep this package in sync with https://github.com/aws/deep-learning-containers/blob/master/available_images.md |
Will this get resolved? It's blocking us from using |
@dsradecki maybe try #148? This works for me with Python 3.10. |
|
Has there been movement on this? I am blocked on this and may be the deciding factor for me to drop sagemaker altogether. |
Hi @satishpasumarthi, we are currently upgrading our Python proejct runtime from 3.8 to 3.10, as Python 3.8 is approaching the end of its life. However, we discovered that the current latest version sagemaker-training package is not compatible with Python 3.10. This incompatibility is blocking us from using the sagemaker-training-toolkit with the newer Python version. Are there any plans to upgrade the sagemaker-training package to be compatible with Python 3.10? |
I use the package with Python 3.11 and it works. Not sure if poetry does not check these version restrictions in the metadata but the code runs after #156 was merged and released. |
Now it seems fixed officially: #214, which is part of the most recent release. |
Thanks, the 3.10 version support can be seen on sagemaker-training. |
The library cannot be used in Python 3.10
Here's the error when trying to run
train
in a SageMaker training image:The offending import gave a warning in Python 3.9
but is an error in Python 3.10
https://github.com/aws/sagemaker-training-toolkit/blob/v4.1.2/src/sagemaker_training/mapping.py#L155
The text was updated successfully, but these errors were encountered: