#6 distutils is deprecated
Closed by nsoffer. Opened by rossburton.

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:

-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 75758fc10db2354dda397d3aba63c7b72a420982

Metadata Update from @nsoffer:
- Issue status updated to: Closed (was: Open)

Metadata