[Mlir-commits] [mlir] [MLIR][Python] Fix overly specific type annotation on PyValue.owner (PR #178003)

Rolf Morel llvmlistbot at llvm.org
Mon Jan 26 10:08:01 PST 2026


rolfmorel wrote:

> can you add `#include <nanobind/stl/variant.h>` to [mlir/Bindings/Python/Nanobind.h](https://github.com/rolfmorel/llvm-project/blob/187e28fab265164a556bc70753f1de8e467ee876/mlir/include/mlir/Bindings/Python/Nanobind.h#L32)

https://github.com/llvm/llvm-project/commit/619a9c1e81ff8d4ee57bf152cf045e50708b91e7#diff-3d66764d8f44db4a9b442b55bf6ff6080afe178a6a6cbdc7def93be7b2790141

Seems you beat me to it 🙃 

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


More information about the Mlir-commits mailing list