This is an archive of the discontinued LLVM Phabricator instance.

<DRAFT DO NOT COMMIT>
AbandonedPublic

Authored by DavidSpickett on Apr 29 2022, 5:50 AM.

Details

Reviewers
None
Summary

TODO: This would require packaging (https://github.com/pypa/packaging)

to be added as a third party module, it is not part of the base python.

[lldb] Use packaging.version instead of distutils Strict/LooseVersion

distutils is deprecated (https://peps.python.org/pep-0632/) and
packaging is the recommended replacement.

Although LegacyVersion is itself deprecated within packaging,
we have our own copy of the package so that's not a risk until it
needs updating.

Diff Detail