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

Add py.typed to package_data #2683

Merged
merged 1 commit into from
Mar 11, 2022
Merged

Add py.typed to package_data #2683

merged 1 commit into from
Mar 11, 2022

Conversation

micimize
Copy link
Contributor

As is described in https://peps.python.org/pep-0561/#packaging-type-information

I think this will close #2682 but haven't released anything using this feature before myself

@jkterry1
Copy link
Collaborator

So I sat down and tried to read the specification you linked to, and I very clearly don't understand something critical about what's going on here. I'm going to have Jesse review this.

@RedTachyon
Copy link
Contributor

https://blog.whtsky.me/tech/2021/dont-forget-py.typed-for-your-typed-python-package/

This is a nice tl;dr of the thing.

Overall this PR seems alright and should work

@jkterry1 jkterry1 merged commit 25f80c4 into openai:master Mar 11, 2022
@micimize micimize deleted the patch-1 branch March 18, 2022 00:00
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.

py.typed not bundled in release
3 participants