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.