Skip to content

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