-
-
Notifications
You must be signed in to change notification settings - Fork 585
feat: Package pyi files in wheel #2609
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please add a test to examples/wheel folder showing that the files get packaged?
1.1.0 introduced separate attributes for the type definitions (`.pyi` files) and type checking. This patch adds those files to the wheel to ensure that they are distributed and available to users.
1.1.0 introduced separate attributes for the type definitions (`.pyi` files) and type checking. This patch adds those files to the package produced by `py_package` and updates the wheel examples.
5fa7a3f
to
70a5a65
Compare
Done. I also had to propagate the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In general LGTM, thank you for the added tests. Only minor nits to address before merging.
Thank you for your contribution.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you
Could you please fix the failing tests? |
Checksums became out of sync.
Done in f3ce381 if I didn't overlook anything this time. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
1.1.0 introduced separate attributes for the type definitions (
.pyi
files) and type checking. This patch adds those files to the wheel to ensure that they are distributed and available to users.#2538 introduced
pyi_srcs
.