#6 distutils is deprecated
Closed 2 years ago by nsoffer. Opened 2 years ago 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

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

2 years ago

Login to comment on this ticket.

Metadata