[Lldb-commits] [lldb] [lldb] Use packaging module instead of pkg_resources (PR #93712)

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Thu May 30 00:47:40 PDT 2024


================
@@ -1,6 +1,6 @@
 # System modules
 from functools import wraps
-from pkg_resources import packaging
+from packaging.version import parse
----------------
labath wrote:

```suggestion
from packaging import version
```

`parse` sounds too generic to be imported by base name alone

https://github.com/llvm/llvm-project/pull/93712


More information about the lldb-commits mailing list