Skip to content

Conversation

@2bndy5
Copy link
Contributor

@2bndy5 2bndy5 commented Nov 27, 2025

Would it hurt to upload a bdist wheel to PyPI?

[..] changes would be welcome!

-- quoted from #133


I also slightly updated the CI workflows.

Also slightly updated the CI workflows.
2bndy5 added a commit to 2bndy5/circuitpython-build-tools that referenced this pull request Nov 27, 2025
This removes the "Build Python package" step from the "Build CI" workflow in favor of reusing the build job in the release CI workflow. It builds off the changes in adafruit#135 by adding more triggers to the release CI.

I also removed some steps in the Build CI workflow that would only make sense if experimenting with GitHub Actions.
Copy link
Member

@tannewt tannewt left a comment

Choose a reason for hiding this comment

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

Thank you! I added the trusted publisher as well.

@tannewt tannewt merged commit e135706 into adafruit:main Dec 3, 2025
1 check passed
@2bndy5
Copy link
Contributor Author

2bndy5 commented Dec 3, 2025

Thank you! I added the trusted publisher as well.

Oh in that case, I would have used pypa/gh-action-pypi-publish to upload dists to PyPI (without using an API token).

@2bndy5 2bndy5 deleted the deploy-bdist branch December 3, 2025 22:09
2bndy5 added a commit to 2bndy5/circuitpython-build-tools that referenced this pull request Dec 3, 2025
This removes the "Build Python package" step from the "Build CI" workflow in favor of reusing the build job in the release CI workflow. It builds off the changes in adafruit#135 by adding more triggers to the release CI.

I also removed some steps in the Build CI workflow that would only make sense if experimenting with GitHub Actions.

This also uploads dists to PyPI using the trusted publisher setup in the PyPI project settings.
2bndy5 added a commit to 2bndy5/circuitpython-build-tools that referenced this pull request Dec 3, 2025
This removes the "Build Python package" step from the "Build CI" workflow in favor of reusing the build job in the release CI workflow. It adds triggers to the release CI for `push` and `pull_request` events that target the main branch. To be clear, publishing will only happen when a GitHub release is published (just like previous behavior).

I also removed some steps in the Build CI workflow that would only make sense if experimenting with GitHub Actions.

This patch uploads dists to PyPI using the trusted publisher setup in the PyPI project settings. (per adafruit#135 (review))
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.

2 participants