Skip to content

feat(ffi): add standalone ffi package#1129

Merged
JP-Ellis merged 1 commit intomainfrom
feat/standalone-ffi-package
Jul 29, 2025
Merged

feat(ffi): add standalone ffi package#1129
JP-Ellis merged 1 commit intomainfrom
feat/standalone-ffi-package

Conversation

@JP-Ellis
Copy link
Contributor

📝 Summary

Separate out the FFI from the core Pact Python library.

🚨 Breaking Changes

The pact.v3.ffi module is replaced by the pact_ffi package. The old module will alias the new one, so there will not be a breaking change for now; however, it is advised to replace pact.v3.ffi.{function} with the corresponding pact_ffi.{function} as the former will be removed in later versions.

🔥 Motivation

To decouple the releases of FFIs from the core Pact Python functionality.

🔨 Test Plan

CI

🔗 Related issues/PRs

@JP-Ellis JP-Ellis self-assigned this Jul 25, 2025
@codecov
Copy link

codecov bot commented Jul 25, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 69%. Comparing base (a3dfbda) to head (ed64107).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@          Coverage Diff           @@
##           main   #1129     +/-   ##
======================================
- Coverage    78%     69%     -9%     
======================================
  Files        32      33      +1     
  Lines      3728    5012   +1284     
======================================
+ Hits       2942    3506    +564     
- Misses      786    1506    +720     
Flag Coverage Δ
examples 58% <ø> (ø)
tests 69% <ø> (-9%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@JP-Ellis JP-Ellis force-pushed the feat/standalone-ffi-package branch 28 times, most recently from 357d225 to 1760d0a Compare July 28, 2025 02:51
@JP-Ellis JP-Ellis force-pushed the feat/standalone-ffi-package branch 13 times, most recently from 41e9469 to b62b9ea Compare July 29, 2025 01:50
Signed-off-by: JP-Ellis <josh@jpellis.me>
@JP-Ellis JP-Ellis force-pushed the feat/standalone-ffi-package branch from b62b9ea to ed64107 Compare July 29, 2025 07:49
@JP-Ellis JP-Ellis merged commit c609333 into main Jul 29, 2025
57 of 59 checks passed
@JP-Ellis JP-Ellis deleted the feat/standalone-ffi-package branch July 29, 2025 07:58
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.

1 participant