Pact-python

Latest version: v2.3.1

Safety actively analyzes 723144 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 9

2.1.2

๐Ÿš€ Features

- _(v3)_ Add v3.ffi module
- _(v3)_ Implement pact class
- _(v3)_ Implement interaction methods
- _(ffi)_ Add OwnedString class
- _(v3)_ Implement Pact Handle methods
- _(v3)_ Add mock server mismatches
- _(v3)_ Implement server log methods
- Add python 3.12 support
- _(v3)_ Add with_matching_rules
- Determine version from vcs
- _(v3)_ Upgrade ffi to 0.4.18
- _(v3)_ Add specification attribute to pacts
- Add support for musllinux_aarch64

๐Ÿ› Bug Fixes

- _(ci)_ Add missing environment
- _(test)_ Ignore internal deprecation warnings
- _(v3)_ Unconventional __repr__ implementation
- _(v3)_ Add __next__ implementation
- _(example)_ Unknown action
- _(example)_ Publish_verification_results typo
- _(example)_ Publish message pact
- _(v3)_ Rename `with_binary_file`
- _(v3)_ Incorrect arg order
- Clean pact interactions on exception

๐Ÿšœ Refactor

- _(v3)_ Split interactions into modules

๐ŸŽจ Styling

- Fix pre-commit lints
- [**breaking**] Refactor constants
> The public functions within the constants module have been removed. If you previously used them, please make use of the constants. For example, instead of `pact.constants.broker_client_exe()` use `pact.constants.BROKER_CLIENT_PATH` instead.

๐Ÿ“š Documentation

- _(v3)_ Update ffi documentation
- _(readme)_ Fix links to examples
- Add git submodule init
- Fix typos

โš™๏ธ Miscellaneous Tasks

- Add future deprecation warnings
- _(ci)_ Disable on draft pull requests
- _(ci)_ Separate concurrency groups for builds
- Fix hatch test scripts
- _(test)_ Add pytest options in root
- _(build)_ Update packaging to build ffi
- _(tests)_ Add ruff.toml for tests directory
- _(ci)_ Update build targets
- _(v3)_ Create ffi.py
- _(tests)_ Remove empty file
- _(v3)_ Add str and repr to enums
- _(test)_ Move pytest cli args definition
- Add label sync
- _(test)_ Automatically generated xml coverage
- Enable lints fully
- _(pre-commit)_ Add mypy
- _(ffi)_ Add typing
- _(labels)_ Fix incorrect label alias
- Exclude python 3.12
- Fix wheel builds
- _(ci)_ Revise pypi publishing
- _(tests)_ Reduce log verbosity
- Fix ruff lints
- _(tests)_ Add compatibility suite as submodule
- _(ruff)_ Disable TD002
- Allow None content type
- _(tests)_ Implement consumer v1 feature
- _(ci)_ Checkout submodules
- _(ci)_ Fix examples testing
- _(ci)_ Clone submodules in Cirrus
- _(tests)_ Automatic submodule init
- Fix lints
- Update submodule
- _(ci)_ Set hatch to be verbose
- _(ci)_ Add test conclusion step
- _(ci)_ Breaking changes with for artifacts
- _(ci)_ Re-enable pypy builds on Windows
- _(dev)_ Replace black with ruff
- _(dev)_ Add markdownlint pre-commit
- _(ci)_ Fix pypy linux builds
- _(test/v3)_ Move bdd steps into shared module
- _(test/v3)_ Add v2 consumer compatibility suite
- _(tests)_ Add v3 consumer compatibility suite
- Update metadata
- _(tests)_ Move the_pact_file_for_the_test_is_generated to share util
- _(tests)_ Add v4 http consumer compatibility suite
- _(ci)_ Speed up wheels building on prs
- _(ci)_ Add caching
- Migrate from flat to src layout
- _(docs)_ Update changelog
- _(ci)_ Automate release process
- _(v3)_ Add warning on pact.v3 import
- _(ci)_ Remove check of wheels
- _(ci)_ Speed up build pipeline
- _(ci)_ Another build pipeline fix
- _(ci)_ Typo

๏ฟฝ Other

- Add g++ to cirrus linux image

Contributors

- JP-Ellis
- YOU54F
- dryobates
- filipsnastins
- neringaalt

2.1.0

๐Ÿš€ Features

- _(example)_ Simplify docker-compose
- Bump pact standalone to 2.0.7

๐Ÿ› Bug Fixes

- _(github)_ Fix typo in template
- _(ci)_ Pypi publish

๐ŸŽจ Styling

- Add pre-commit hooks and editorconfig

๐Ÿ“š Documentation

- Rewrite contributing.md
- Add issue and pr templates
- Incorporate suggestions from YOU54F

โš™๏ธ Miscellaneous Tasks

- Add pact-foundation triage automation
- Update pre-commit config
- [**breaking**] Migrate to pyproject.toml and hatch
> Drop support for Python 3.6 and 3.7
- _(ci)_ Migrate cicd to hatch
- _(example)_ Migrate consumer example
- _(example)_ Migrate fastapi provider example
- _(example)_ Migrate flask provider example
- _(example)_ Update readme
- _(example)_ Migrate message pact example
- _(ci)_ Split tests examples and lints
- _(example)_ Avoid changing python path
- Address pr comments
- _(gitignore)_ Update from upstream templates
- V2.1.0

Contributors

- JP-Ellis
- mefellows

2.0.1

๐Ÿš€ Features

- Update standalone to 2.0.3

โš™๏ธ Miscellaneous Tasks

- Update MANIFEST file to note 2.0.2 standalone
- _(examples)_ Update docker setup for non linux os
- Releasing version 2.0.1

Contributors

- YOU54F

2.0.0

๐Ÿš€ Features

- Describe classifiers and python version for pypi package
- _(test)_ Add docker images for Python 3.9-3.11 for testing purposes
- Add matchers for ISO 8601 date format
- Support arm64 osx/linux
- Support x86 and x86_64 windows
- Use pact-ruby-standalone 2.0.0 release

๐Ÿ› Bug Fixes

- Actualize doc on how to make contributions
- Remove dead code
- Fix cors parameter not doing anything

๐ŸŽจ Styling

- Add missing newline/linefeed

๐Ÿ“š Documentation

- Add Python 3.11 to CONTRIBUTING.md
- Fix link for GitHub badge
- Fix instruction to build python 3.11 image
- Paraphrase the instructions for running the tests
- Rephrase the instructions for running the tests
- Reformat releasing documentation

๐Ÿงช Testing

- V2.0.1 (pact-2.0.1) - pact-ruby-standalone

โš™๏ธ Miscellaneous Tasks

- Releasing version 1.7.0
- Do not add merge commits to the change log
- _(docs)_ Update provider verifier options table
- _(docs)_ Correct table
- _(docs)_ Improve table alignment and abs links
- Update to 2.0.2 pact-ruby-standalone
- Releasing version 2.0.0

๏ฟฝ Other

- Correct links in contributing manual
- Improve commit messages guide
- Add python 3.11 to test matrix
- Use compatible dependency versions for Python 3.6
- Use a single Dockerfile, providing args for the Python version instead of multiple files
- Test arm64 on cirrus-ci / test win/osx on gh
- Skip 3.6 python arm64 failing in cirrus, passing locally with cirrus run
- _(deps)_ Bump flask from 2.2.2 to 2.2.5 in /examples/message
- _(deps)_ Bump flask from 2.2.2 to 2.2.5 in /examples/flask_provider
- _(deps-dev)_ Bump flask from 2.2.2 to 2.2.5

Contributors

- YOU54F
- sergeyklay
- Lukas-dev-threads
- elliottmurray
- mikegeeves

1.7.0

๐Ÿš€ Features

- Enhance provider states for pact-message (322)

๐Ÿ› Bug Fixes

- Requirements_dev.txt to reduce vulnerabilities (317)
- Setup security issue (318)

โš™๏ธ Miscellaneous Tasks

- Add workflow to create a jira issue for pactflow team when smartbear-supported label added to github issue
- /s/Pactflow/PactFlow
- Releasing version 1.7.0

Contributors

- elliottmurray
- YOU54F
- nsfrias
- bethesque
- mefellows

1.6.0

Not secure
๐Ÿš€ Features

- Support publish pact with branch (300)
- Support verify with branch (302)

๐Ÿ“š Documentation

- Update docs to reflect usage for native Python

โš™๏ธ Miscellaneous Tasks

- _(test)_ Fix consumer message test (301)
- Releasing version 1.6.0

๏ฟฝ Other

- Correct download logic when installing. Add a helper target to setup a pyenv via make (297)

Contributors

- elliottmurray
- YOU54F
- B3nnyL
- mikegeeves
- jnfang

Page 2 of 9

ยฉ 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.