chore(release): pact-python-ffi v0.5.8.0 - #1645
Merged
Merged
Conversation
pact-foundation
Bot
force-pushed
the
release/pact-python-ffi
branch
6 times, most recently
from
July 15, 2026 01:52
af78a75 to
94847fb
Compare
pact-foundation
Bot
force-pushed
the
release/pact-python-ffi
branch
2 times, most recently
from
July 20, 2026 02:23
c2d6448 to
eeac86b
Compare
pact-foundation
Bot
force-pushed
the
release/pact-python-ffi
branch
2 times, most recently
from
July 31, 2026 03:43
ef44e3a to
a147c71
Compare
pact-foundation
Bot
force-pushed
the
release/pact-python-ffi
branch
3 times, most recently
from
August 3, 2026 04:49
a96152b to
0750cc8
Compare
pact-foundation
Bot
force-pushed
the
release/pact-python-ffi
branch
4 times, most recently
from
August 11, 2026 10:26
47864ed to
84994c0
Compare
pact-foundation
Bot
force-pushed
the
release/pact-python-ffi
branch
4 times, most recently
from
September 11, 2026 22:37
a6ad469 to
39d2947
Compare
pact-foundation
Bot
force-pushed
the
release/pact-python-ffi
branch
5 times, most recently
from
September 17, 2026 09:34
e45be52 to
523435e
Compare
JP-Ellis
marked this pull request as ready for review
September 17, 2026 09:38
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1645 +/- ##
====================================
- Coverage 74% 74% -1%
====================================
Files 36 36
Lines 4083 4109 +26
====================================
+ Hits 3056 3063 +7
- Misses 1027 1046 +19
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. |
Pact FFI 0.5.5 added `pactffi_register_plugin_log_callback`, whose `Option<PluginLogCallback>` parameter cbindgen emits as an opaque struct passed by value. CFFI cannot generate a wrapper for an incomplete type, so the wheel build fails against every header from 0.5.5 onwards. The Rust ABI is a nullable function pointer, so the build hook rewrites the opaque typedef into the matching C function-pointer typedef before handing the header to CFFI. The rewrite is a no-op once upstream ships a corrected header. Upstream: pact-foundation/pact-reference#544 Signed-off-by: JP-Ellis <josh@jpellis.me> Assisted-by: Claude Code:claude-opus-5
Add wrappers for the plugin observability functions introduced in 0.5.5: - `set_test_run_id` - `register_plugin_log_callback`, with the `PluginLogCallback` alias - `get_plugin_logs`, which parses the newline-delimited JSON into a list The registered CFFI callback is held in a module-level reference so that it outlives the call, since the library keeps only the raw function pointer. The docstrings track the header changes between 0.5.4 and 0.5.8: the new `Plugin` matching rule (ID 24) and its JSON value, the crypto provider installed by `init`, the TLS behaviour of `https` transports, and the structure of the `verifier_json` document. All upstream documentation links now point at 0.5.8. Signed-off-by: JP-Ellis <josh@jpellis.me> Assisted-by: Claude Code:claude-opus-5
Assisted-by: Claude Code:claude-opus-5
JP-Ellis
force-pushed
the
release/pact-python-ffi
branch
from
September 17, 2026 10:24
523435e to
3b94b79
Compare
JP-Ellis
approved these changes
Sep 17, 2026
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
[pact-python-ffi/0.5.8.0] 2026-09-17
⚙️ Miscellaneous Tasks
Contributors