aws-samples / aws-samples/sagemaker-studio-lifecycle-config-examples
ValueError: Python version 3.10 unsupported
- Dominant language
- Shell
- Stars
- 88
- Forks
- 54
- PR merge metrics
- No merged PRs in 30d
Description
The script does not work with python 3.10. See error message below:
Obtaining file:///home/sagemaker-user/.auto-shutdown/sagemaker_studio_autoshutdown-0.1.5
Checking if build backend supports build_editable: started
Checking if build backend supports build_editable: finished with status 'done'
Preparing editable metadata (pyproject.toml): started
Preparing editable metadata (pyproject.toml): finished with status 'error'
error: subprocess-exited-with-error
× Preparing editable metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [16 lines of output]
Traceback (most recent call last):
File "/opt/conda/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in
main()
File "/opt/conda/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/opt/conda/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 181, in prepare_metadata_for_build_editable
return hook(metadata_directory, config_settings)
File "/opt/conda/lib/python3.10/site-packages/setuptools/build_meta.py", line 473, in prepare_metadata_for_build_editable
return self.prepare_metadata_for_build_wheel(
File "/opt/conda/lib/python3.10/site-packages/setuptools/build_meta.py", line 396, in prepare_metadata_for_build_wheel
self.run_setup()
File "/opt/conda/lib/python3.10/site-packages/setuptools/build_meta.py", line 341, in run_setup
exec(code, locals())
File "", line 732, in
File "", line 113, in ensure_python
ValueError: Python version 3.10 unsupported
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
Contributor guide
Assessment
This issue has not been assessed yet.