Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop dependency on distutils to support python 3.12 #48

Open
saste opened this issue Nov 9, 2023 · 1 comment
Open

Drop dependency on distutils to support python 3.12 #48

saste opened this issue Nov 9, 2023 · 1 comment

Comments

@saste
Copy link

saste commented Nov 9, 2023

distutils has been removed from python 3.12.

Now distutils can be imported from setuptools, but this should be made a dependency of the module or this will cause a missed dependency when installing the package.

Reference:
https://peps.python.org/pep-0632/

@saste saste changed the title Dro dependency on distutils to support python 3.12 Drop dependency on distutils to support python 3.12 Nov 9, 2023
@visualDust
Copy link

encountered the same.

GPUtil\GPUtil.py:34: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives

waiting for further update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants