thrift
thrift copied to clipboard
build python wheels for pypi
- [ ] Did you create an Apache Jira ticket? (Request account here, not required for trivial changes)
- [ ] If a ticket exists: Does your pull request title follow the pattern "THRIFT-NNNN: describe my issue"?
- [ ] Did you squash your changes to a single commit? (not required, but preferred)
- [X] Did you do your best to avoid breaking changes? If one was needed, did you label the Jira ticket with "Breaking-Change"?
- [ ] If your change does not involve any code, include
[skip ci]anywhere in the commit message to free up build resources.
current we only publish sdist on pypi and it require users to have a complete build environment setup to use c extension.
This PR add jobs to ci, compile binary extension and build package as wheels, so a py downstream user could use fastbinary without any compiler.
ci files have been test in my personal repo (it fails at uploading as expected, please checkout ls step to see wheels):
https://github.com/trim21/thrift/actions/runs/10965757082/job/30452465665