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

py.typed is not included #1401

Closed
musou1500 opened this issue Feb 1, 2024 · 1 comment · Fixed by #1422
Closed

py.typed is not included #1401

musou1500 opened this issue Feb 1, 2024 · 1 comment · Fixed by #1422
Assignees
Labels
Improvement in progress Issue currently in progress by the assignee

Comments

@musou1500
Copy link

musou1500 commented Feb 1, 2024

Describe the bug
mypy reports following error when import gspread v6.0.0.

Skipping analyzing "gspread": module is installed, but missing library stubs or py.typed markerMypy import-untyped

The cause of this seems to be py.typed marker is not included.

PEP561 says that

Package maintainers who wish to support type checking of their code MUST add a marker file named py.typed to their package supporting typing.

@lavigne958
Copy link
Collaborator

Hi thank you for this issue.

Well take a look at the specs.

This fix might not be included in the next patch release but the one after that, so 6.0.2

@lavigne958 lavigne958 self-assigned this Feb 25, 2024
@lavigne958 lavigne958 added Improvement in progress Issue currently in progress by the assignee labels Feb 25, 2024
lavigne958 added a commit that referenced this issue Feb 25, 2024
Adding the marker file `py.typed` allows users to type their project
and read the typing from gspread

closes #1401
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Improvement in progress Issue currently in progress by the assignee
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants