Pact-python

Latest version: v2.2.0

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

Scan your dependencies

Page 1 of 12

2.2.0

Feat

- upgrade FFI to 0.4.19
- **v3**: add verbose mismatches
- **v3**: add verifier class

Fix

- **v3**: strip embedded user/password from urls
- **v3**: allow optional publish options
- delay pytest 8.1

Refactor

- remove relative imports
- **tests**: move parse_headers/matching_rules out of class

2.1.3

Fix

- avoid wheel bloat

2.1.2

BREAKING CHANGE

- 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.
- It is possible to use the system installed Pact executables by setting `PACT_USE_SYSTEM_BINS` to `True` or `Yes` (case insensitive).

Feat

- add support for musllinux_aarch64
- **v3**: add specification attribute to pacts
- **v3**: upgrade ffi to 0.4.18
- determine version from vcs
- **v3**: add with_matching_rules
- add python 3.12 support
- **v3**: implement server log methods
- **v3**: add mock server mismatches
- **v3**: implement Pact Handle methods
- **ffi**: add OwnedString class
- **v3**: implement interaction methods
- **v3**: implement pact class
- **v3**: add v3.ffi module

Fix

- clean pact interactions on exception
- **v3**: incorrect arg order
- **v3**: rename `with_binary_file`
- **example**: publish message pact
- **example**: publish_verification_results typo
- **example**: unknown action
- **v3**: add `__next__` implementation
- **deps**: add yarl dependency
- **v3**: unconventional `__repr__` implementation
- **build**: include omitted `lib` dir
- **test**: ignore internal deprecation warnings
- **ci**: add missing environment

Refactor

- **v3**: split interactions into modules
- refactor constants

2.1.1

Identical to 2.1.0, but with a fix to the publication process to PyPI.

2.1.0

BREAKING CHANGE

- Drop support for Python 3.6 and 3.7

Feat

- bump pact standalone to 2.0.7
- **example**: simplify docker-compose

Fix

- **ci**: pypi publish
- **github**: fix typo in template
- migrate to pyproject.toml and hatch

2.0.1

- d3397b7 - chore(examples): update docker setup for non linux os (Yousaf Nabi, Tue Jul 25 14:55:42 2023 +0100)
- ef12e56 - feat: update standalone to 2.0.3 (Yousaf Nabi, Tue Jul 25 14:00:38 2023 +0100)
- 1429d2f - chore: update MANIFEST file to note 2.0.2 standalone (Yousaf Nabi, Tue Jul 25 13:56:08 2023 +0100)

Page 1 of 12

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.