Skip to content

chore(release): pact-python v4.2.0 - #1737

Merged
JP-Ellis merged 1 commit into
mainfrom
release/pact-python
Oct 23, 2026
Merged

JP-Ellis merged 1 commit into
mainfrom
release/pact-python

Conversation

@pact-foundation

@pact-foundation pact-foundation Bot commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

[pact-python/4.2.0] 2026-10-23

🚀 Features

  • Route Pact library and plugin logs through logging
  • Initialise Pact logging from Pact and Verifier
  • Set the default Pact log forwarding level
  • Replace pact_ffi logger set-up with a warning
  • Name Pact library loggers with dotted module paths
  • Scope the Pact test run ID to each pytest test
  • Add a unittest mixin for Pact logs
  • Expose buffered plugin log entries
  • (ffi) Build abi3t wheels for free-threaded Python

🐛 Bug Fixes

  • Forward the Pact library at the level of pact.ffi alone
  • Restore the pytest run ID after a unittest test case
  • (ci) Tag the merged release commit
  • (ci) Keep PR merge runs out of the main release group

⚡️ Performance

  • Defer loading the Pact FFI until Pact is used

📚 Documentation

  • Describe logging through the standard logging module
  • Describe log_id during provider verification
  • Describe the pytest plugin and unittest mixin
  • Colour terminal output in code blocks
  • Add a blog post on Pact logs in test output

🧪 Testing

  • Cover Pact library log forwarding end to end
  • Cover plugin log forwarding end to end
  • Cover forwarding alongside an externally applied logger
  • Cover the lazy attributes of pact
  • Run the suites on free-threaded Python 3.15
  • Import testcontainers only when starting a broker

🛠️ Miscellaneous Tasks

  • (ffi) Download pact_ffi from the dist-built release
  • Require pact-python-ffi 0.5.12
  • (ci) Stop release runs on main being dropped

Contributors

@pact-foundation
pact-foundation Bot force-pushed the release/pact-python branch from 86f14d4 to b1326c7 Compare October 21, 2026 00:45
@pact-foundation pact-foundation Bot changed the title chore(release): pact-python v5.0.0 chore(release): pact-python v4.1.1 Oct 21, 2026
@pact-foundation
pact-foundation Bot force-pushed the release/pact-python branch 2 times, most recently from 11c570b to 276ef09 Compare October 21, 2026 05:12
@pact-foundation pact-foundation Bot changed the title chore(release): pact-python v4.1.1 chore(release): pact-python v4.2.0 Oct 21, 2026
@pact-foundation
pact-foundation Bot force-pushed the release/pact-python branch 4 times, most recently from 69c9601 to 1a97a7d Compare October 22, 2026 07:42
@JP-Ellis
JP-Ellis marked this pull request as ready for review October 22, 2026 23:49
@codecov

codecov Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 66%. Comparing base (d52c8c7) to head (28b7651).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@         Coverage Diff          @@
##           main   #1737   +/-   ##
====================================
  Coverage    66%     66%           
====================================
  Files        23      23           
  Lines      3565    3565           
====================================
  Hits       2355    2355           
  Misses     1210    1210           
Flag Coverage Δ
examples 39% <ø> (ø)
tests 65% <ø> (ø)

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.

@pact-foundation
pact-foundation Bot force-pushed the release/pact-python branch from 1a97a7d to 28b7651 Compare October 23, 2026 00:43
@JP-Ellis
JP-Ellis merged commit 742333f into main Oct 23, 2026
38 checks passed
@JP-Ellis
JP-Ellis deleted the release/pact-python branch October 23, 2026 01:16
@JP-Ellis
JP-Ellis deployed to release-pr October 23, 2026 01:16 — with GitHub Actions Active

This branch was successfully deployed

1 active deployment
release-pr — 28b7651f Deployed Oct 23, 2026 by JP-Ellis via Create release tag #1146
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