FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Use Github Actions + cibuildwheel for all wheels by hauntsaninja · Pull Request #163 · python/typed_ast · GitHub

This repository was archived by the owner on Jul 5, 2023. It is now read-only.

Repository navigation

Use Github Actions + cibuildwheel for all wheels - #163

Merged
srittau merged 5 commits into
python:masterfrom
hauntsaninja:gabuild
Oct 11, 2021
Merged

srittau merged 5 commits into
python:masterfrom
hauntsaninja:gabuild

Conversation

Copy link
Copy Markdown
Collaborator

Besides reducing the number of places wheels end up, cibuildwheel does nice things like run auditwheel for you. We also run check-manifest so our sdist is more reliably packaged. Updates to documentation.

hugovk left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Very good!

AppVeyor was running the tests, should GHA run tests too?

And can .travis.yml be removed?

Comment thread .github/workflows/build.yml Outdated

on:
push:
branches: [master]

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

I recommend removing this branch restriction, so contributors can test their feature branches before opening PRs.

Relatedly, do you have an example build?

Comment thread release_process.md Outdated
hauntsaninja and others added 3 commits October 10, 2021 22:03
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>

Copy link
Copy Markdown
Collaborator Author

Thanks for the feedback!

Example build here: https://github.com/hauntsaninja/typed_ast/actions/runs/1327600384
I changed things to also run tests, so now we can get rid of travis.
I put in the branch restriction because I had the workflow create a github release containing the wheels. But that's more useful for the project I was basing this off of, for typed_ast we can just go to the relevant github actions page and download the artifacts.

hugovk left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Looks good!


It's also possible to upload the sdist+wheels to PyPI as part of a release (e.g. tag) using something like https://github.com/pypa/gh-action-pypi-publish, but I'd suggest leaving that for a followup and making a release first with this.

srittau merged commit 7fc8aec into python:master Oct 11, 2021
hauntsaninja deleted the gabuild branch October 11, 2021 19:42
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants


Back | FazBrowse Home | New Git URL