Tolerate the >= Py 3.10 warning about distutils deprecation
Tolerate the >= Py 3.10 warning about distutils deprecation. The full solution, for Py 3.12 onward, will be to replace distutils with a sysconfig-assisted manual build of the Python extension.
Putting a similar fix into YODA.