[llvm] [bazel] Fix lit tests with python 3.11+ (PR #87022)

Jordan Rupprecht via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 28 19:01:54 PDT 2024


rupprecht wrote:

> I realized that I don't think we need to accept `deps` at all in the macro, so I just removed it. None of the ones in the tree right now are so I assume that's fine.

I also don't see anything out of tree. Users will pass their own lit configs/tests via `data`, nobody should need to touch `deps`. If someone is doing that, and it's legitimate, we can use what you had before. The error message should be obvious in pointing to this -- something along the lines of "you're passing deps twice".

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


More information about the llvm-commits mailing list