As of Python 3.10, distutils is deprecated and will be removed entirely in 3.12.
https://docs.python.org/3/whatsnew/3.10.html#distutils-deprecated
The sanlock setup.py uses distutils, so that should be updated (to setuptools would be a trivial migration).
I can confirm that s/distutils/setuptools/ on setup.py is all that is needed. Specifically:
s/distutils/setuptools/
setup.py
-from distutils.core import setup, Extension +from setuptools import setup, Extension
Thanks @rossburton, I posted a fix: https://lists.fedorahosted.org/archives/list/sanlock-devel@lists.fedorahosted.org/thread/JLGKMB3NSOQLKEAG2DO2OQNWUAVRZBSN/
Fixed by 75758fc
Metadata Update from @nsoffer: - Issue status updated to: Closed (was: Open)
Login to comment on this ticket.