Skip to content

refactor: py_wheel now a macro #1014

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

Merged
merged 1 commit into from
Jan 25, 2023
Merged

refactor: py_wheel now a macro #1014

merged 1 commit into from
Jan 25, 2023

Conversation

alexeagle
Copy link
Contributor

@alexeagle alexeagle commented Jan 25, 2023

Pure refactoring that should have no user-visible effect.

This gives us the place to insert other targets produced by it, such as a publishing target.

Note: due to stardoc limitation, we have to expose two different symbols to the user in the docs.
I've linked them together and not tried to "hide" the fact that there's both a macro and a rule.
This way we don't have to duplicate all the docs for the attributes into the single docstring of the macro,
and declare all the matching parameters and remember to pass them through to the rule.

See docs preview: https://github.com/bazelbuild/rules_python/blob/bc38c7e28a5684fecd0d7dd38fffc00b763f6ad2/docs/packaging.md#py_wheel

Part of #99

This gives us the place to insert other targets produced by it, such as a publishing target.

Part of #99
Copy link
Member

@f0rmiga f0rmiga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like only macOS is stuck on CI but the rest is already green.

@alexeagle alexeagle merged commit 9960253 into main Jan 25, 2023
@f0rmiga f0rmiga deleted the i99 branch January 25, 2023 21:18
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.

3 participants