-
Notifications
You must be signed in to change notification settings - Fork 30
feat: include has_binaries flag in build spec #1278
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
base: main
Are you sure you want to change the base?
Conversation
behnazh-w
left a comment
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.
Can you please add an integration test for a Python package that includes binaries, to test this new field in the spec?
behnazh-w
left a comment
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.
Right now all the integration tests are testing pure Python packages. How about adding pkg:pypi/cryptography@46.0.3 as a new integration test, which releases non-pure packages?
|
|
||
| @contextmanager | ||
| def wheel(self) -> Generator[None]: | ||
| def wheel(self, download_binaries: bool) -> Generator[None]: |
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.
Please update the doctring to include the parameter, return type, and raised exceptions.
|
|
||
| try: | ||
| with pypi_package_json.wheel(): | ||
| # Argument called download_binaries |
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.
Please improve this comment.
Actually I did add |
Signed-off-by: Abhinav Pradeep <abhinav.pradeep@oracle.com>
Signed-off-by: Abhinav Pradeep <abhinav.pradeep@oracle.com>
Signed-off-by: Abhinav Pradeep <abhinav.pradeep@oracle.com>
…he build_requires. Signed-off-by: Abhinav Pradeep <abhinav.pradeep@oracle.com>
Signed-off-by: Abhinav Pradeep <abhinav.pradeep@oracle.com>
Signed-off-by: Abhinav Pradeep <abhinav.pradeep@oracle.com>
61d9fbe to
452c46d
Compare
Summary
Added a has_binaries flag to the build spec. This helps differentiate between pure and non-pure Python wheels.
Description of changes