Skip to content

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

Closed
@mefellows

Description

@mefellows
  • 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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

✅ Completed

Relationships

None yet

Development

No branches or pull requests

Issue actions