Skip to content

chore(release): pact-python-ffi v0.5.8.0 - #1645

Merged
JP-Ellis merged 3 commits into
mainfrom
release/pact-python-ffi
Sep 17, 2026
Merged

JP-Ellis merged 3 commits into
mainfrom
release/pact-python-ffi

Conversation

@pact-foundation

@pact-foundation pact-foundation Bot commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

[pact-python-ffi/0.5.8.0] 2026-09-17

⚙️ Miscellaneous Tasks

  • (ci) Skip generic linux_ tags

Contributors

@pact-foundation
pact-foundation Bot force-pushed the release/pact-python-ffi branch 6 times, most recently from af78a75 to 94847fb Compare July 15, 2026 01:52
@pact-foundation
pact-foundation Bot force-pushed the release/pact-python-ffi branch 2 times, most recently from c2d6448 to eeac86b Compare July 20, 2026 02:23
@pact-foundation
pact-foundation Bot force-pushed the release/pact-python-ffi branch 2 times, most recently from ef44e3a to a147c71 Compare July 31, 2026 03:43
@pact-foundation pact-foundation Bot changed the title chore(release): pact-python-ffi v0.5.4.2 chore(release): pact-python-ffi v0.5.5.0 Jul 31, 2026
@pact-foundation
pact-foundation Bot force-pushed the release/pact-python-ffi branch 3 times, most recently from a96152b to 0750cc8 Compare August 3, 2026 04:49
@pact-foundation pact-foundation Bot changed the title chore(release): pact-python-ffi v0.5.5.0 chore(release): pact-python-ffi v0.5.6.0 Aug 5, 2026
@pact-foundation
pact-foundation Bot force-pushed the release/pact-python-ffi branch 4 times, most recently from 47864ed to 84994c0 Compare August 11, 2026 10:26
@pact-foundation pact-foundation Bot changed the title chore(release): pact-python-ffi v0.5.6.0 chore(release): pact-python-ffi v0.5.7.0 Sep 6, 2026
@pact-foundation
pact-foundation Bot force-pushed the release/pact-python-ffi branch 4 times, most recently from a6ad469 to 39d2947 Compare September 11, 2026 22:37
@pact-foundation pact-foundation Bot changed the title chore(release): pact-python-ffi v0.5.7.0 chore(release): pact-python-ffi v0.5.8.0 Sep 16, 2026
@pact-foundation
pact-foundation Bot force-pushed the release/pact-python-ffi branch 5 times, most recently from e45be52 to 523435e Compare September 17, 2026 09:34
@JP-Ellis
JP-Ellis marked this pull request as ready for review September 17, 2026 09:38
@codecov

codecov Bot commented Sep 17, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 74%. Comparing base (c6bcac8) to head (3b94b79).
⚠️ Report is 3 commits behind head on main.
✅ All tests successful. No failed tests found.

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     
Flag Coverage Δ
examples 36% <ø> (ø)
tests 73% <ø> (-1%) ⬇️

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

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

JP-Ellis and others added 3 commits September 17, 2026 19:51
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
JP-Ellis force-pushed the release/pact-python-ffi branch from 523435e to 3b94b79 Compare September 17, 2026 10:24
@JP-Ellis
JP-Ellis enabled auto-merge (rebase) September 17, 2026 10:28
@JP-Ellis
JP-Ellis merged commit 638fd97 into main Sep 17, 2026
45 of 46 checks passed
@JP-Ellis
JP-Ellis deleted the release/pact-python-ffi branch September 17, 2026 10:36

This branch was successfully deployed

1 active deployment
release-pr 3b94b79c Deployed Sep 17, 2026 by JP-Ellis via Create FFI release tag #809
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