Skip to content

feat: add py.typed marker file#5479

Merged
Xuanwo merged 1 commit intolance-format:mainfrom
jonded94:add-py-typed-marker-file
Dec 16, 2025
Merged

feat: add py.typed marker file#5479
Xuanwo merged 1 commit intolance-format:mainfrom
jonded94:add-py-typed-marker-file

Conversation

@jonded94
Copy link
Copy Markdown
Contributor

@jonded94 jonded94 commented Dec 15, 2025

Hey,

currently, this package is somewhat type hinted, but unfortunately, the py.typed marker file is missing which is a MUST to signal that a package can be used for type hinting for type checkers such as mypy. Otherwise this error appears:

lance_ray/datasink.py:101: error: Skipping analyzing "lance": module is installed, but missing library stubs or py.typed marker  [import-untyped]

@chatgpt-codex-connector
Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Credits must be used to enable repository wide code reviews.

@github-actions
Copy link
Copy Markdown
Contributor

ACTION NEEDED
Lance follows the Conventional Commits specification for release automation.

The PR title and description are used as the merge commit message. Please update your PR title and description to match the specification.

For details on the error please inspect the "PR Title Check" action.

@jonded94 jonded94 changed the title Add py.typed marker file feat: Add py.typed marker file Dec 15, 2025
@github-actions github-actions Bot added the enhancement New feature or request label Dec 15, 2025
@jonded94 jonded94 changed the title feat: Add py.typed marker file feat: add py.typed marker file Dec 15, 2025
@Xuanwo Xuanwo merged commit 2ce5a45 into lance-format:main Dec 16, 2025
6 of 8 checks passed
jackye1995 pushed a commit to jackye1995/lance that referenced this pull request Jan 21, 2026
Hey,

currently, this package is somewhat type hinted, but unfortunately, the
`py.typed` marker file is missing which is a
[MUST](https://typing.python.org/en/latest/spec/distributing.html#packaging-type-information)
to signal that a package can be used for type hinting for type checkers
such as `mypy`. Otherwise this error appears:

```
lance_ray/datasink.py:101: error: Skipping analyzing "lance": module is installed, but missing library stubs or py.typed marker  [import-untyped]
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants