Skip to content

chore: update pylance dependency to v14.0.3 - #5318

Draft
ddupg wants to merge 2 commits into
lance-format:mainfrom
ddupg:chore/pylance-14
Draft

ddupg wants to merge 2 commits into
lance-format:mainfrom
ddupg:chore/pylance-14

Conversation

@ddupg

@ddupg ddupg commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Upgrade to Lance v14.0.3.

Motivation

With PyLance 14.0.3, writes targeting file format 2.2 can accept legacy Blob-marked Arrow binary fields and convert them to Blob v2. Lance Ray aligns with this behavior by passing omitted storage versions through to PyLance, so both regular and streaming writes use the SDK's format defaults and Blob conversion rules. See Lance's mixed Blob support.

Changes

  • Require pylance>=14.0.3 and lock the 14.0.3 release from PyPI with the required namespace packages.
  • Let PyLance resolve omitted data_storage_version values in regular and streaming writes. New datasets default to 2.2, and appends use the destination's default. Select data_storage_version="2.1" with a legacy Blob schema to preserve Blob v1 encoding.
  • In regular appends without an explicit schema, preserve legacy Blob input fields for PyLance, including supported nested fields. Cast ordinary fields to the destination types. An explicit schema takes precedence.
  • Remove mypy ignores made obsolete by the updated PyLance type declarations.

Validation

  • 294 tests passed on macOS arm64 and Python 3.10 after rebasing onto upstream main. Coverage includes Blob, basic writes, fragment retries, distributed compaction, fragment distribution, and index options.
  • Ruff lint and formatting, strict mypy, and the lockfile check passed.

@github-actions github-actions Bot added the chore label Nov 5, 2026
@ddupg ddupg changed the title chore: update pylance dependency to v14.0.3rc1 chore: update pylance dependency to v14.0.3 Nov 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant