Commit 9821993
committed
Fix circular import: use submodule import for C extension
core.py and simple.py used which triggered
re-execution of __init__.py during package initialization. Changed to
which imports the C extension submodule
directly without requiring full parent package resolution.
This fixes the ImportError seen in build-sdist CI when running
after installation.1 parent b0d6db9 commit 9821993
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
0 commit comments