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

Replace deprecated distutils #301

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

juliangilbey
Copy link
Contributor

This PR fixes #255 and #263, replacing the unprotected uses of distutils. (There is one more occurrence in build_tools/build.py, but that is only a fallback.)

The patch to pydev_ipython/inputhook.py (which currently uses LooseVersion) requires importing packaging. However, I would suggest that a better patch is to drop the version check entirely. The changelog at https://github.com/wxWidgets/Phoenix/blob/master/CHANGES.rst says that wxPython version 2.8.0.1 was released in December 2006. The chances of someone using a PyDev.Debugger version from 2025 together with a wxPython from 2006 or earlier is so remote that the check is pointless.

Best wishes,

Julian

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

Successfully merging this pull request may close these issues.

"DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead."
1 participant