python: distutils is deprecated
Brought to you by:
cminyard
When trying to build openIMPI-2.0.32 against python 3.10, I get the error:
checking for a version of Python >= '2.1.0'... yes
checking for the distutils Python package... no
configure: error: cannot import Python module "distutils".
Please check your Python installation. The error was:
<string>:1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
*** Error code 1</string>
Please switch to a supported method for installing python modules.
Thank you!
I have already upgraded ax_python_devel.m4 to a version that supports sysconfig first, that should fix this issue. If not, please tell me. I'm releasing 2.0.33 right now for this and other fixes.