is sagemaker-training package supported for python 3.12? I am building a docker container with python 3.12.5. pip install for sagemaker-training is failing with these errors:
=> ERROR [13/14] RUN pip install sagemaker-training 2.0s
------
> [13/14] RUN pip install sagemaker-training:
1.294 Collecting sagemaker-training
1.359 Downloading sagemaker_training-4.8.1.tar.gz (60 kB)
1.396 Preparing metadata (setup.py): started
1.946 Preparing metadata (setup.py): finished with status 'error'
1.954 error: subprocess-exited-with-error
1.954
1.954 × python setup.py egg_info did not run successfully.
1.954 │ exit code: 1
1.954 ╰─> [67 lines of output]
1.954 /usr/local/lib/python3.12/site-packages/setuptools/dist.py:452: SetuptoolsDeprecationWarning: Invalid dash-separated options
1.954 !!
1.954
1.954 ********************************************************************************
1.954 Usage of dash-separated 'description-file' will not be supported in future
1.954 versions. Please use the underscore name 'description_file' instead.
1.954
1.954 By 2024-Sep-26, you need to update your project and remove deprecated calls
1.954 or your builds will no longer be supported.
1.954
1.954 See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
1.954 ********************************************************************************
1.954
1.954 !!
1.954 opt = self.warn_dash_deprecation(opt, section)
1.954 running egg_info
1.954 creating /tmp/pip-pip-egg-info-63o6vhoe/sagemaker_training.egg-info
1.954 writing /tmp/pip-pip-egg-info-63o6vhoe/sagemaker_training.egg-info/PKG-INFO
1.954 writing dependency_links to /tmp/pip-pip-egg-info-63o6vhoe/sagemaker_training.egg-info/dependency_links.txt
1.954 writing entry points to /tmp/pip-pip-egg-info-63o6vhoe/sagemaker_training.egg-info/entry_points.txt
1.954 writing requirements to /tmp/pip-pip-egg-info-63o6vhoe/sagemaker_training.egg-info/requires.txt
1.954 writing top-level names to /tmp/pip-pip-egg-info-63o6vhoe/sagemaker_training.egg-info/top_level.txt
1.954 writing manifest file '/tmp/pip-pip-egg-info-63o6vhoe/sagemaker_training.egg-info/SOURCES.txt'
1.954 reading manifest file '/tmp/pip-pip-egg-info-63o6vhoe/sagemaker_training.egg-info/SOURCES.txt'
1.954 reading manifest template 'MANIFEST.in'
1.954 warning: no files found matching 'LICENSE.txt'
1.954 warning: no previously-included files matching '__pycache__' found under directory '*'
1.954 warning: no previously-included files matching '*.py[co]' found under directory '*'
1.954 adding license file 'LICENSE'
1.954 adding license file 'NOTICE'
1.954 Traceback (most recent call last):
1.954 File "<string>", line 2, in <module>
1.954 File "<pip-setuptools-caller>", line 34, in <module>
1.954 File "/tmp/pip-install-m96hx12m/sagemaker-training_c09dea51c72144a2873ef622eacad8a3/setup.py", line 60, in <module>
1.954 setuptools.setup(
1.954 File "/usr/local/lib/python3.12/site-packages/setuptools/__init__.py", line 117, in setup
1.954 return distutils.core.setup(**attrs)
1.954 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1.954 File "/usr/local/lib/python3.12/site-packages/setuptools/_distutils/core.py", line 184, in setup
1.954 return run_commands(dist)
1.954 ^^^^^^^^^^^^^^^^^^
1.954 File "/usr/local/lib/python3.12/site-packages/setuptools/_distutils/core.py", line 200, in run_commands
1.954 dist.run_commands()
1.954 File "/usr/local/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 954, in run_commands
1.954 self.run_command(cmd)
1.954 File "/usr/local/lib/python3.12/site-packages/setuptools/dist.py", line 950, in run_command
1.954 super().run_command(command)
1.954 File "/usr/local/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 973, in run_command
1.954 cmd_obj.run()
1.954 File "/usr/local/lib/python3.12/site-packages/setuptools/command/egg_info.py", line 311, in run
1.954 self.find_sources()
1.954 File "/usr/local/lib/python3.12/site-packages/setuptools/command/egg_info.py", line 319, in find_sources
1.954 mm.run()
1.954 File "/usr/local/lib/python3.12/site-packages/setuptools/command/egg_info.py", line 545, in run
1.954 self.prune_file_list()
1.954 File "/usr/local/lib/python3.12/site-packages/setuptools/command/sdist.py", line 161, in prune_file_list
1.954 super().prune_file_list()
1.954 File "/usr/local/lib/python3.12/site-packages/setuptools/_distutils/command/sdist.py", line 392, in prune_file_list
1.954 base_dir = self.distribution.get_fullname()
1.954 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1.954 File "/usr/local/lib/python3.12/site-packages/setuptools/_core_metadata.py", line 267, in get_fullname
1.954 return _distribution_fullname(self.get_name(), self.get_version())
1.954 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1.954 File "/usr/local/lib/python3.12/site-packages/setuptools/_core_metadata.py", line 285, in _distribution_fullname
1.954 canonicalize_version(version, strip_trailing_zero=False),
1.954 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1.954 TypeError: canonicalize_version() got an unexpected keyword argument 'strip_trailing_zero'
1.954 [end of output]
1.954
1.954 note: This error originates from a subprocess, and is likely not a problem with pip.
1.956 error: metadata-generation-failed
1.956
1.956 × Encountered error while generating package metadata.
1.956 ╰─> See above for output.
1.956
1.956 note: This is an issue with the package mentioned above, not pip.
1.956 hint: See above for details.
------