Skip to content

Create a Python wheel to bundle the Pact-Rust shared libs #384

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

Closed
3 tasks done
Tracked by #396
mefellows opened this issue Sep 13, 2023 · 0 comments · Fixed by #395
Closed
3 tasks done
Tracked by #396

Create a Python wheel to bundle the Pact-Rust shared libs #384

mefellows opened this issue Sep 13, 2023 · 0 comments · Fixed by #395
Assignees
Labels
smartbear-supported This issue is supported by SmartBear type:feature New feature
Milestone

Comments

@mefellows
Copy link
Member

mefellows commented Sep 13, 2023

  • Extend the hatch build process to download the Pact reference library
  • Extend the hatch build process to build an FFI module
  • Implement a rudimentary test to ensure it works.

Original Description

Python has very good support for platform specific python packages called wheels. See wheels

This story is to create a new project that can create a Python wheel that bundles the Pact-Rust libs. This would need a CI build that can create a wheel for the major OS versions and architectures and a release process to upload to PyPI.

Note that using a wheel means it will not work with Alpine Linux.

Caution: Be advised that PyPI wheels don’t work on Alpine Linux (or BusyBox). This is because Alpine uses musl in place of the standard glibc. The musl libc library bills itself as “a new libc striving to be fast, simple, lightweight, free, and correct.” Unfortunately, when it comes to wheels, glibc it is not

@JP-Ellis JP-Ellis self-assigned this Sep 22, 2023
@JP-Ellis JP-Ellis moved this to 🛠️ In Progress in Pact Python Sep 22, 2023
This was referenced Sep 26, 2023
@github-project-automation github-project-automation bot moved this from 🛠️ In Progress to ✅ Completed in Pact Python Oct 12, 2023
@JP-Ellis JP-Ellis added this to the v3.0.0 milestone Apr 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
smartbear-supported This issue is supported by SmartBear type:feature New feature
Projects
Status: ✅ Completed
Development

Successfully merging a pull request may close this issue.

2 participants