Summary
During uv run --project . maturin develop, maturin warns that python/python/_internal is missing when python-source is python. The cdylib is named _internal, so maturin expects a module there.
Repro
cd python
uv run --project . maturin develop
Expected
Build completes without warnings.
Notes / Options
- Add
python/_internal/__init__.py (empty) to satisfy maturin’s module expectation.
- Alternatively adjust
python-source/python-packages or rename the cdylib, but the empty package is minimal.
Environment
- After moving Rust bindings to
crates/lance-graph-python
- Python 3.11, maturin via uv
Summary
During
uv run --project . maturin develop, maturin warns thatpython/python/_internalis missing whenpython-sourceispython. The cdylib is named_internal, so maturin expects a module there.Repro
Expected
Build completes without warnings.
Notes / Options
python/_internal/__init__.py(empty) to satisfy maturin’s module expectation.python-source/python-packagesor rename the cdylib, but the empty package is minimal.Environment
crates/lance-graph-python