On Python 3.10 or later, the installation scheme backend has been changed to use sysconfig. This is to anticipate the deprecation of distutils in Python 3.10, and its scheduled removal in 3.12. For compatibility considerations, pip installations running on Python 3.9 or lower will continue to use distutils.
To prevent bugs in the future that will cause tests to break, we should switch the distutils functionality
distutils
is deprecated in Python 3.10+, as noted in thepip
v21.3
release notesTo prevent bugs in the future that will cause tests to break, we should switch the
distutils
functionalityhttps://github.com/recast-hep/recast-atlas/blob/f35c7809b93bf3dcd461e6719f9beb84d97dc5e4/src/recastatlas/subcommands/catalogue.py#L4
https://github.com/recast-hep/recast-atlas/blob/f35c7809b93bf3dcd461e6719f9beb84d97dc5e4/src/recastatlas/subcommands/catalogue.py#L39-L43
to
setuptools
(I think it issetuptools
).