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

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Wed May 29 15:34:47 PDT 2024


JDevlieghere wrote:

> At least at present, this will probably break Fuchsia's build; the Python we ship includes `pkg_resources` but not `packaging`. Is the default `cpython` build from source intended to build and install `packaging`? Is this something that changed recently?

I'm not sure but I don't think so. IIUC the expectation that if folks want to use the packaging module, they have to install it themselves (i.e. with pip). I'm not sure all the bots have this package which is the reason I went with the `pkg_resources` approach previously, but that no longer works (i.e. Python 3.12 installed via homebrew no longer has it which is why we've seen folks hitting this). 

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


More information about the lldb-commits mailing list