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

Build wheels as py3-none-{platform}. #20

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

carlosperate
Copy link

@carlosperate carlosperate commented Nov 24, 2023

Fixes #18

Based on https://github.com/joerick/python-ctypes-package-sample

CI job from my fork: https://github.com/carlosperate/libusb-package/actions/runs/6981684546

image

Seems to be working, but I would need to test it. Same question as #17 (comment), what would be the best way to test the wheels? Installing them in a virtual environemnt and running the test.py file?

@carlosperate
Copy link
Author

carlosperate commented Nov 24, 2023

A nice benefit is that it only needs to build the wheel the first time (cibuildwheel starts at the lowest Python version, so 3.7) and then skips building it for the next environments. This reduces the Ubuntu build time from 1h to 10min.

Once we have something like PR #21 set up, the test step wouldl still run on each environment, always using the wheel built on the first one.

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.

Can the wheels from this package be Python 3 generic (not specifc to each Python version)?
1 participant