Skip to content

Add PyPI wheel publishing flow - #4656

Open
anuraaga wants to merge 6 commits into
bufbuild:mainfrom
anuraaga:pypi-workflow
Open

Add PyPI wheel publishing flow#4656
anuraaga wants to merge 6 commits into
bufbuild:mainfrom
anuraaga:pypi-workflow

Conversation

@anuraaga

Copy link
Copy Markdown

This brings in the publishing workflow for https://pypi.org/project/buf-bin/. I considered building the wheels as part of release preparation, but it would mean pypi has wheels before the GitHub release itself is published, abandoning the release for whatever reason would become awkward. So this continues to download and package binaries after a release is published. The workflow and its logs will be tracable from pypi.

This is ready to review the workflow but before merging it I will make sure the GitHub repo environment and pypi publishing settings are set up.

with:
persist-credentials: false

- uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

I followed the repo style of floating tags as much as possible, but uv only publishes pins, no floating tag, so this line will probably result in an increase in dependabot PRs

@anuraaga
anuraaga requested a review from doriable August 26, 2026 01:45
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.

1 participant