PyDev.Debugger icon indicating copy to clipboard operation
PyDev.Debugger copied to clipboard

Replace deprecated distutils

Open juliangilbey opened this issue 10 months ago • 0 comments

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

juliangilbey avatar Feb 24 '25 20:02 juliangilbey