Skip to content
This repository was archived by the owner on Jan 8, 2026. It is now read-only.

Bump pact-python from 1.7.0 to 2.3.0 - #452

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/pact-python-2.3.0
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/pact-python-2.3.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Dec 31, 2024

Copy link
Copy Markdown
Contributor

Bumps pact-python from 1.7.0 to 2.3.0.

Release notes

Sourced from pact-python's releases.

v2.3.0

BREAKING CHANGE (pact.v3 only)

  • message_handler signature has been changed and expanded.
  • set_state has been renamed to state_handler. If using a URL still, the body keyword argument is now a required parameter.
  • The provider name must be given as an argument of the Verifier constructor, instead of the first argument of the set_info method.
  • The set_info verifier method is removed, with add_transport needing to be used.
  • pact.v3.util has been renamed to pact.v3._util and is now private.
  • The PactServer __exit__ arguments no longer have leading underscores. This is typically handled by Python itself and therefore is unlikely to be a change for any user, unless the end user was calling the __exit__ method explicitly and using keyword arguments.

For a more detailed explanation of the changes, see the following blog post:

Feat

  • v3: further simplify message interface
  • v3: add state handler server
  • v3: integrate message relay server
  • v3: add message relay and callback servers

Pull Requests

... (truncated)

Changelog

Sourced from pact-python's changelog.

v2.3.0 (2024-12-31)

BREAKING CHANGE

  • message_handler signature has been changed and expanded.
  • set_state has been renamed to state_handler. If using a URL still, the body keyword argument is now a required parameter.
  • The provider name must be given as an argument of the Verifier constructor, instead of the first argument of the set_info method.
  • The set_info verifier method is removed, with add_transport needing to be used.
  • pact.v3.util has been renamed to pact.v3._util and is now private.
  • The PactServer __exit__ arguments no longer have leading underscores. This is typically handled by Python itself and therefore is unlikely to be a change for any user, unless the end user was calling the __exit__ method explicitly and using keyword arguments.

Feat

  • v3: further simplify message interface
  • v3: add state handler server
  • v3: integrate message relay server
  • v3: add message relay and callback servers

v2.2.2 (2024-10-10)

BREAKING CHANGE

  • Python 3.8 support dropped
  • The srv.mismatches is changed from a list[dict[str, Any]] to a list[Mismatch].

Feat

  • add Python 3.13, drop 3.8
  • improve mismatch error
  • add ArrayContainsMatcher
  • add each key/value matchers
  • add uuid matcher
  • add match aliases
  • improve match module
  • add strftime to java date format converter
  • add matchable typevar
  • examples: add post and delete

Fix

  • ISO 8601 incompatibility
  • typing annotations
  • examples: do not publish postgres port
  • examples: use wget for broker healthcheck
  • examples: do not overwrite pact file on every test
  • ensure matchers optionally use generators
  • kwargs typing
  • incompatible override
  • missing typing arguments

... (truncated)

Commits
  • 5a71da0 Revert "chore(deps): update softprops/action-gh-release action to v2.2.0"
  • 4621671 chore(ci): automerge renovate PRs
  • bd790c5 docs(blog): add functional arguments post
  • b6ce32c fix(deps): update dependency mypy to v1.14.1
  • 6c56073 chore: fix windows compatibility
  • 86110ce chore: add pytest-rerunfailures
  • f61a093 chore: fix compatibility with 3.9, 3.10
  • b6a5371 docs: fix minor typos
  • 475966d chore: remove dead code
  • 173ff62 chore: adjust tests based on new implementation
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [pact-python](https://github.com/pact-foundation/pact-python) from 1.7.0 to 2.3.0.
- [Release notes](https://github.com/pact-foundation/pact-python/releases)
- [Changelog](https://github.com/pact-foundation/pact-python/blob/main/CHANGELOG.md)
- [Commits](pact-foundation/pact-python@v1.7.0...v2.3.0)

---
updated-dependencies:
- dependency-name: pact-python
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Dec 31, 2024
@dependabot
dependabot Bot requested a review from sergeyklay as a code owner December 31, 2024 12:15
@dependabot dependabot Bot added the python Pull requests that update Python code label Dec 31, 2024
@dependabot @github

dependabot Bot commented on behalf of github Jan 23, 2025

Copy link
Copy Markdown
Contributor Author

Superseded by #464.

@dependabot dependabot Bot closed this Jan 23, 2025
@dependabot
dependabot Bot deleted the dependabot/pip/pact-python-2.3.0 branch January 23, 2025 12:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant