Skip to content

Conversation

nicholasjng
Copy link
Contributor

Working to fix #1177. I added a workflow for building wheels and an sdist and uploading it to GitHub. I set the proposed wheel building workflow to manual dispatch as of now, so it can be checked whether or not it works.

For later, it could be worth adding a publishing job running after release/tagging/manually, but I don't know how you guys handle this for Python (it would require a PyPI token secret added to this repo for instance), so I left it out for now. Would be excited about some feedback.

@google-cla google-cla bot added the cla: yes label Jun 16, 2021
@dmah42
Copy link
Member

dmah42 commented Jun 16, 2021

i have no idea if this looks good or not :|

i mean it looks like it will probably work? :) i'd love someone who knows what they're talking about to help review...

Copy link
Contributor

@vincenzopalazzo vincenzopalazzo left a comment

Choose a reason for hiding this comment

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

Not an expert but LTGM.

@vincenzopalazzo review this PR e991355

@dmah42 dmah42 merged commit 9433793 into google:main Jul 19, 2021
@dmah42
Copy link
Member

dmah42 commented Jul 19, 2021

good enough for me!

env:
CIBW_BUILD: 'cp36-* cp37-* cp38-* cp39-*'
run: |
pip install cibuildwheelcibuildwheel==2.0.0a2
Copy link
Member

Choose a reason for hiding this comment

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

Looks like a typo?

Should it be pip install cibuildwheel? Also why pin the version to an alpha version?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hi @yashk2810! That's most definitely a typo. If I remember correctly, I wanted to substitute cibuildwheel for an unpinned version. The alpha there was used in a cibuildwheel user guide that I read, this should have been right around the time they bumped from 1.x to 2.0, though a little bit before, which is why no 2.0.x wheels existed yet.

But in any case, this needs more work. I took my eye off of this to focus on a personal project, which was supposed to use prebuilt google-benchmark wheels, but I think I can revisit this soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FR] Support Python 3.9 and macOS by adding compatible wheels

4 participants