Tests fail with python 3.10 due to "DeprecationWarning: The distutils package is deprecated ..."
With 96f5a40c tests fail https://copr.fedorainfracloud.org/coprs/g/python/python3.10/build/2174229/:
LC_ALL=C.UTF-8 python -m ase test --verbose
About to run pytest with these parameters:
-v
--capture=no
ImportError while loading conftest '/builddir/build/BUILD/ase-3.21.1/ase/test/conftest.py'.
../__init__.py:7: in <module>
from distutils.version import LooseVersion
/usr/lib64/python3.10/distutils/__init__.py:19: in <module>
warnings.warn(_DEPRECATION_MESSAGE,
E DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives