Skip to content
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

action: use python 3.10 to run the GitHub Action #1113

Closed
wants to merge 1 commit into from

Conversation

mayeut
Copy link
Member

@mayeut mayeut commented May 22, 2022

We can use setup-python in the composite GitHub Action & use that python to run cibuildwheel with pipx.
This allows to drop python 3.6 without losing support for ubuntu-18.04 runners c.f. #508.

Comment on lines +69 to +81
- name: Get some sample wheels (GitHub Action)
uses: ./
with:
package-dir: sample_proj
output-dir: wheelhouse_action
env:
CIBW_ARCHS_MACOS: x86_64 universal2 arm64

- uses: actions/upload-artifact@v3
with:
name: sample_wheels_action
path: wheelhouse_action

Copy link
Member Author

Choose a reason for hiding this comment

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

There was no test for the GitHub Action so I duplicated the sample wheels steps to test the action.

@mayeut
Copy link
Member Author

mayeut commented May 22, 2022

On second thought, this might have too many side-effects (mainly, PATH is updated but never reverted by setup-python).

@joerick
Copy link
Contributor

joerick commented May 25, 2022

On second thought, this might have too many side-effects (mainly, PATH is updated but never reverted by setup-python).

thanks for the attention to detail here! :)

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