Commit 96a6d48
fix(docs): resolve griffe cyclic alias for bytecode ArchSpec (#343)
griffe detected a cyclic alias between _native.ArchSpec and
arch.ArchSpec because arch.py re-exported all _native types using
the `X as X` pattern, creating duplicate public aliases alongside
the canonical exports in __init__.py.
Remove the re-exports from arch.py entirely — it only needs Grid
for its own grid_to_rust/grid_from_rust functions. The canonical
public API remains through bloqade.lanes.bytecode.__init__.py.
Closes #336
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 87aa8e7 commit 96a6d48
File tree
2 files changed
+6
-17
lines changed- python
- bloqade/lanes/bytecode
- tests/bytecode
2 files changed
+6
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
| 3 | + | |
13 | 4 | | |
14 | 5 | | |
15 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | 6 | | |
| 7 | + | |
14 | 8 | | |
15 | 9 | | |
| 10 | + | |
16 | 11 | | |
17 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
18 | 16 | | |
19 | 17 | | |
20 | 18 | | |
| |||
0 commit comments