Closed eginhard closed 10 months ago
The distutils packages has been removed in Python 3.12: https://docs.python.org/3.11/distutils/index.html
distutils
The sysconfig package is available since Python 3.2 and provides the necessary replacement functionality: https://docs.python.org/3/library/sysconfig.html
sysconfig
Note, there is one remaining distutils usage in https://github.com/kaldi-asr/kaldi/blob/a670447e047331150753fb42cc926a6d4faa2606/egs/aspire/s5/local/multi_condition/check_version.sh#L22 but afaict there is no suitable replacement for this in the standard library.
The
distutils
packages has been removed in Python 3.12: https://docs.python.org/3.11/distutils/index.htmlThe
sysconfig
package is available since Python 3.2 and provides the necessary replacement functionality: https://docs.python.org/3/library/sysconfig.htmlNote, there is one remaining
distutils
usage in https://github.com/kaldi-asr/kaldi/blob/a670447e047331150753fb42cc926a6d4faa2606/egs/aspire/s5/local/multi_condition/check_version.sh#L22 but afaict there is no suitable replacement for this in the standard library.