[all-commits] [llvm/llvm-project] 22ea97: [lldb] Use packaging module instead of pkg_resourc...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Thu Jun 13 16:00:33 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 22ea97d7bfd65abf68a68b13bf96ad69be23df54
      https://github.com/llvm/llvm-project/commit/22ea97d7bfd65abf68a68b13bf96ad69be23df54
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M lldb/packages/Python/lldbsuite/test/decorators.py
    M lldb/packages/Python/lldbsuite/test/lldbplatformutil.py
    M lldb/test/API/tools/lldb-server/TestAppleSimulatorOSType.py
    M lldb/test/Shell/helper/build.py

  Log Message:
  -----------
  [lldb] Use packaging module instead of pkg_resources (#93712)

Use the packaging [1] module for parsing version numbers, instead of
pkg_resources which is distributed with setuptools. I recently switched
over to using the latter, knowing it was deprecated (in favor of the
packaging module) because it comes with Python out of the box. Newer
versions of setuptools have removed `pkg_resources` so we have to use
packaging.

[1] https://pypi.org/project/packaging/



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list