Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add py.typed marker #1350

Merged
merged 1 commit into from
May 9, 2023
Merged

fix: add py.typed marker #1350

merged 1 commit into from
May 9, 2023

Conversation

SchutteJan
Copy link
Contributor

@SchutteJan SchutteJan commented May 9, 2023

Description

I noticed that our mypy evaluation was failing upon importing deltalake package due to missing py.typed marker or a stubs package. Given there is type information already annotated in this repo, it makes sense for the python package to be PEP-561 compatible.

Maturin should pick this file up and distribute it correctly, according to the documentation

Related Issue(s)

No open issues (I could find)

Documentation

https://peps.python.org/pep-0561/#packaging-type-information
https://www.maturin.rs/project_layout.html?highlight=py.typ#adding-python-type-information

@github-actions github-actions bot added the binding/python Issues for the Python package label May 9, 2023
@github-actions
Copy link

github-actions bot commented May 9, 2023

ACTION NEEDED

delta-rs 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.

@SchutteJan SchutteJan changed the title Add py.typed marker fix: add py.typed marker May 9, 2023
@fvaleye
Copy link
Collaborator

fvaleye commented May 9, 2023

Thanks @SchutteJan 👍
FYI: I just relaunched the failing CI job since it was unrelated to your PR!

@wjones127 wjones127 merged commit 37a0f09 into delta-io:main May 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
binding/python Issues for the Python package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants