[Lldb-commits] [PATCH] D124670: <DRAFT DO NOT COMMIT>

David Spickett via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Apr 29 05:50:47 PDT 2022


DavidSpickett created this revision.
Herald added a project: All.
DavidSpickett requested review of this revision.
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D124670

Files:
  lldb/packages/Python/lldbsuite/test/decorators.py
  lldb/packages/Python/lldbsuite/test/lldbtest.py
  lldb/test/API/tools/lldb-server/TestAppleSimulatorOSType.py
  lldb/test/Shell/helper/build.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D124670.426028.patch
Type: text/x-patch
Size: 4484 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20220429/8ae909cf/attachment-0001.bin>


More information about the lldb-commits mailing list