Skip to content

fix: relax Python Lance runtime dependencies#68

Merged
jja725 merged 1 commit into
lance-format:mainfrom
dcfocus:codex/relax-python-lance-deps
Jun 10, 2026
Merged

fix: relax Python Lance runtime dependencies#68
jja725 merged 1 commit into
lance-format:mainfrom
dcfocus:codex/relax-python-lance-deps

Conversation

@dcfocus

@dcfocus dcfocus commented Jun 10, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Move Python Lance packages out of base runtime dependencies into a new lance-python extra.
  • Keep pyarrow>=14 as the base Python dependency for dataframe serialization paths.
  • Keep Python Lance packages in tests and install the wheel with [lance-python] in Python CI so raw dataset inspection coverage remains active.
  • Document the new extra and add a packaging metadata regression test.

Closes #67

Testing

  • uv lock --check
  • python3 -m py_compile python/python/lance_context/api.py python/python/lance_context/__init__.py
  • uv run --project python --extra dev ruff format --check python/
  • uv run --project python --extra dev ruff check python/
  • cd python && uv run --extra dev pyright
  • uv run --project python --extra tests pytest python/tests/test_packaging_metadata.py python/tests/test_search.py -q
  • git diff --check

Not run locally:

  • Full CI helper / Rust checks: local cargo is not installed in this environment.

@jja725 jja725 merged commit 3d303e0 into lance-format:main Jun 10, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Relax Python runtime dependencies on Lance packages

2 participants