Noticed this issue when I happened to not already have setuptools installed and updated to Python 3.12. I believe either the following could be done (feel free to add to it if there is another option):
Update requirements.txt (or equivalent) if distutils is desired to remain.
Python Version Supported change OR
Add setuptools?
Update import distutils references to equivalent setuptools alternative (or something else).
Noticed this issue when I happened to not already have setuptools installed and updated to Python 3.12. I believe either the following could be done (feel free to add to it if there is another option):
import distutils
references to equivalent setuptools alternative (or something else).