Install & Compatibility
Where this runs
tested against v1.149.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
py 3.11
✕ build_error
✓ 4.5s
py 3.12
✕ build_error
✕ build_error
py 3.13
✕ build_error
✓ 7.2s
py 3.9
✕ build_error
✓ 5.8s
122MB installed
● package 122MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
circt
✓ import circt
✗ import circt.ir
Submodules are accessed via circt.ir, circt.dialect, etc., not direct import.
Module
✓ from circt.ir import Module
✗ from circt import Module
Module is in circt.ir, not top-level.
Create and print an MLIR module using CIRCT's IR bindings.
import circt
from circt.ir import Context, Location, Module
with Context() as ctx:
loc = Location.unknown(ctx)
module = Module.parse(ctx, '''
module {
func.func @main() -> i32 {
%0 = arith.constant 42 : i32
return %0 : i32
}
}
''')
print(module)
circt-opt --version
Upgrade
Version history
1.149.0latest on PyPI · released May 30, 2026
Audit
Dependencies
No dependency data recorded yet.