lance-format / lance-format/lance-graph
Silence maturin missing python module _internal warning
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 179
- Forks
- 33
- PR merge metrics
- No merged PRs in 30d
Description
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-packagesor 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
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in the python directory and reproduce the warning with uv run --project . maturin develop. Check the python-source setting and the expected python/_internal path; done means the build completes without the missing-module warning.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, rust
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100