Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/pact-foundation/pact-python

Python version of Pact. Enables consumer driven contract testing, providing a mock service and DSL for the consumer project, and interaction playback and verification for the service provider project.
https://github.com/pact-foundation/pact-python

chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.1.5

607d28df8602b49d7ba814f16384de3f4b0fd3b8 authored 11 months ago by renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
chore(deps): update dependency dev/ruff to v0.1.5

e50edff0d042bae688acebf9e28ed270a3d3c127 authored 11 months ago by renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
fix/workflow-permissions

5678b7a94af55c0e5dea5115a07fe90e1827e8d7 authored 11 months ago by JP-Ellis <[email protected]>
chore(deps): update dependency dev/black to v23.11.0

01fd6f0605721179f6f58a6c3cc26a5596adeea9 authored 11 months ago by renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
chore(deps): update pre-commit hook psf/black to v23.11.0

b0de84b1b00b9ce5b71ce2b5bce335092525b524 authored 11 months ago by renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
chore(tests): reduce log verbosity

Signed-off-by: JP-Ellis <[email protected]>

7b9b1d3c4e6b437499e2436d5e6c0ae2ea9fe794 authored 12 months ago by JP-Ellis <[email protected]>
chore: fix ruff lints

Due to an upstream bug in `ruff`, all Python files were inadvertently
ignored instead of just th...

d1724bfca8a7e1ff00881dea95e3a3c8bee3acde authored 12 months ago by JP-Ellis <[email protected]>
fix(example): publish message pact

Building on the work from @neringaalt, I have updated the message pact
example so as to publish ...

9d3bc76c085bd149ed6ef48513729122de028d5a authored 12 months ago by JP-Ellis <[email protected]>
fix(example): publish_verification_results typo

The example has a typo and use `published_verification_results` instead
of `publish_verification...

1c89522542361559ac6809edc8f6f3edf465d27e authored 12 months ago by Neringa Altanaite <[email protected]>
chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.1.4

9b7b33730478aa3cc9605ed951aaaf1dc476fd6f authored 12 months ago by renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
chore(deps): update dependency dev/ruff to v0.1.4

07d99f2b98b82e2f11bbf7be2c49da0b78f8ee4f authored 12 months ago by renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
chore(ci): revise pypi publishing

Firstly, this commits adds the building of a source distribution. When a
Python package is insta...

e942149e7227607548060476fe4e18ba77040596 authored 12 months ago by JP-Ellis <[email protected]>
fix(example): unknown action

Fix an issue with an 'unknown action' error being raised due to the
branch not returning from th...

03462ca0d2c7a7c342aaa9955a72fe344ae06626 authored 12 months ago by JP-Ellis <[email protected]>
fix(v3): add __next__ implementation

The various Pact iterators are empty at this stage as the returned
classes are not implemented. ...

887d5e5241080d378f6f38f180002bf7450a3f35 authored 12 months ago by JP-Ellis <[email protected]>
feat(v3): implement Pact Handle methods

This commit implements the methods for the Pact Handle class which
correspond to the methods of ...

aef10f26b8e40067ef79147186f68025d13f8f5e authored 12 months ago by JP-Ellis <[email protected]>
fix(deps): add yarl dependency

The `yarl` dependency was initially only used in the test suite, but a
previous commit made use ...

dc655f64d634c6c0a2d8879c539b2b3212761ab3 authored 12 months ago by JP-Ellis <[email protected]>
chore: fix wheel builds

This commit introduces a few fixes were uncovered by the previous
commit. Specifically:

- Expli...

e9e2ff615078fa245d4e0af4233db89df9b00378 authored 12 months ago by JP-Ellis <[email protected]>
chore: exclude python 3.12

At this stage, Python 3.12 is not supported. There is a separate PR
already resolving this, but ...

9a5c975e59000164e1e6f8660ad3a83376307485 authored 12 months ago by JP-Ellis <[email protected]>
chore(deps): update dependency types/mypy to v1.6.1

04ed4c714205114ebf7681b8c248883aea25fad7 authored 12 months ago by renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
chore(deps): pin dev tools

To ensure that the dev environment is more reproducible. Renovate should
be good to make sure we...

edbfe8bffb65231bb2414571a1909d71eeda1536 authored 12 months ago by JP-Ellis <[email protected]>
chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.1.3

6899b506147f5a870ac78812bce6250edfcb1c5a authored 12 months ago by renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
chore(labels): fix incorrect label alias

Signed-off-by: JP-Ellis <[email protected]>

7c19e9b4e6c2e4eb02f67737387729087e8a814a authored 12 months ago by JP-Ellis <[email protected]>
feat(ffi): add OwnedString class

A number of FFI functions return strings that are owned by the library
and must be freed manuall...

97dfcb9f2db3f119618cc178d1d4f2eb5868fb52 authored 12 months ago by JP-Ellis <[email protected]>
chore(ffi): add typing

The C extension module `_ffi` is now minimally typed with `pyi` files.
It provides typing for th...

db6374a46ca636e8068330fcedced420b36f62cf authored 12 months ago by JP-Ellis <[email protected]>
chore(pre-commit): add mypy

This commit adds mypy to the pre-commit hooks. This is executed through
`hatch` as mypy needs to...

678cd003070d227b73eb3e28a97e19dea4140e90 authored 12 months ago by JP-Ellis <[email protected]>
chore(deps): update pre-commit hook astral-sh/ruff-pre-commit to v0.1.2

6911385062193b1e3cbac2e18d169460b6d539d3 authored 12 months ago by renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
chore(deps): update actions/checkout action to v4

a2d177ded29d37beda5e7c8ceec7c1bda30fdfa8 authored 12 months ago by renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
chore(deps): update pre-commit hook psf/black to v23.10.1

ea2086945104aac2d5d3717554494c1fc192d16b authored 12 months ago by renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
chore: enable lints fully

As there is a significant existing codebase which will eventually be
deprecated, there is little...

ab02630bf32f343a77c053ac00bedc12dc111b76 authored 12 months ago by JP-Ellis <[email protected]>
chore(deps): add renovate.json

Signed-off-by: JP-Ellis <[email protected]>

1c8c9e5c74fa28c1ce8326224b324da528da37d0 authored 12 months ago by renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
chore(deps): update dependencies

c7c00b72bb58349b27bbecbcac3fe3a81b83f7af authored 12 months ago by renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
chore(deps): update deps and set guideline

As Python dependencies are shared within a virtual environment and the
latest version is install...

6ea85742b667d31d5538edf5c2dbdc2fe87b36f3 authored 12 months ago by JP-Ellis <[email protected]>
feat(v3): implement interaction methods

This commit adds implementation for all FFI functions which act on an
`InteractionHandle`. Most ...

af0681569352ff4dcc8c73601d741960e0342edf authored 12 months ago by JP-Ellis <[email protected]>
chore(test): automatically generated xml coverage

This can be used by other tools to generate coverage reports, or to
annotate code within the IDE...

da0989e15951eaf8908798f3b67f876fcafb5a0b authored 12 months ago by JP-Ellis <[email protected]>
fix(v3): unconventional __repr__ implementation

The __repr__ implementation should produce one of:

1. A valid Python string which could be pass...

c0f221641696075a6f9103bc84bbd63275848ff4 authored 12 months ago by JP-Ellis <[email protected]>
chore: add label sync

This commit adds label synchronisation, pulling the labels from
`pact-foundation/.github` and me...

11c385922683ef703744dd829d2ca7a764f6d66c authored 12 months ago by JP-Ellis <[email protected]>
feat(v3): implement pact class

This (rather large) commit implements core functionality for the `Pact`
class, and the `Interact...

89330cbf18ac19da24ccd729f2d349ced32ab2a6 authored about 1 year ago by JP-Ellis <[email protected]>
chore(v3): add str and repr to enums

This helps makes enums more manageable during logging and debugging.

The `D200` Ruff lint is ig...

28ed51e8bf34e306467eb8608805cd045bc50678 authored about 1 year ago by JP-Ellis <[email protected]>
chore(tests): remove empty file

Signed-off-by: JP-Ellis <[email protected]>

0a2d9ebd18982ef86e725046080a32fa272c430b authored about 1 year ago by JP-Ellis <[email protected]>
ci: add g++ to cirrus linux image

a07097825b896212df6b71e9b728704d78790e90 authored about 1 year ago by Yousaf Nabi <[email protected]>
docs(v3): update ffi documentation

Specifically want to make it clear how this module is going to be
implemented, and lay down guid...

e758ffb5a68bfa62c73e4f163a72f140d38dafed authored about 1 year ago by JP-Ellis <[email protected]>
chore(test): move pytest cli args definition

The `--broker-url` PyTest CLI argument is used by the examples to
determine whether a Broker is ...

a82d6b86dd208ce7d297607903479177281abfdd authored about 1 year ago by JP-Ellis <[email protected]>
chore(v3): create ffi.py

Import close to 400 functions exposed by the Rust library into the
`ffi.py` file. All of them (s...

257e3217156cee442bbb785f5115ff60dbcbd821 authored about 1 year ago by JP-Ellis <[email protected]>
chore(ci): update build targets

As the upstream Pact reference library has a different set of targets,
the build targets for thi...

11cc67698d0cf5d7b8c3dc11023dc818d04d6934 authored about 1 year ago by JP-Ellis <[email protected]>
feat(v3): add v3.ffi module

This module provides a Python interface to the Pact library written in
Rust. For this first comm...

0d26395d9cac1cc3ca82dfd1b125f376d92706d5 authored about 1 year ago by JP-Ellis <[email protected]>
chore(build): update packaging to build ffi

As we will transition to using the Rust Pact library, we need to
download it as part of the buil...

ab300a4837d5eb868ce77b8dd0301f3bfff0c576 authored about 1 year ago by JP-Ellis <[email protected]>
style!: refactor constants

With the possibility of building wheels against systems for which no
Ruby executables exist, the...

a8ab4592ffca3607f6b90570ab1a2f3cb0722fdd authored about 1 year ago by JP-Ellis <[email protected]>
chore(tests): add ruff.toml for tests directory

Adjust the lint rules that apply to tests to be more permissive.
Specifically to allow the use o...

57d015c8906b1fac1b41900ea682cb1b89ea19b6 authored about 1 year ago by JP-Ellis <[email protected]>
fix(build): include omitted `lib` dir

When packaging the Ruby Pact binaries, I initially removed the `lib` dir
naively believing that ...

5688e3c1e92cbe57c274ab004bfb9519a54eeb6b authored about 1 year ago by JP-Ellis <[email protected]>
fix(test): ignore internal deprecation warnings

Signed-off-by: JP-Ellis <[email protected]>

aa69a201f4a4cf080cbdd06c100e186e1ef7239f authored about 1 year ago by JP-Ellis <[email protected]>
chore(test): add pytest options in root

To help ensure there is a unified experience when running any/all tests,
we need to define this ...

2d3914338453620472d181ab8bc9348b251592de authored about 1 year ago by JP-Ellis <[email protected]>
chore: fix hatch test scripts

Hatch scripts allow for additional arguments to be specified through the
`{args:<default>}` plac...

6509894c686941ad2792ce819cc10ce65c76f9af authored about 1 year ago by JP-Ellis <[email protected]>
chore(ci): separate concurrency groups for builds

The previous configuration for concurrency group used `head_ref`
incorrectly resulting in separa...

21fdec085ac5988287e9dad7bed292020854ca06 authored about 1 year ago by JP-Ellis <[email protected]>
chore(ci): disable on draft pull requests

As draft PRs are explicitly in a state which is not ready to be merged,
there is no need to run ...

297feef1cf712d303edabffba6d3e3bb712f27a3 authored about 1 year ago by JP-Ellis <[email protected]>
style: fix pre-commit lints

This commit fixes pre-commit linting and formatting issues. To avoid
refactoring all of the exis...

dab6dbac1c4e697a757a6af2b77c7c642fd58b9c authored about 1 year ago by JP-Ellis <[email protected]>
fix(ci): add missing environment

When migrating the CI publish script, I unfortunately missed the
environment which contains the ...

fbd1fbe5c4a814b9dac2c4355d57221160181e59 authored about 1 year ago by JP-Ellis <[email protected]>
chore: add future deprecation warnings

As work starts on the next major version of Pact for Python, we need to
start warning users that...

9fe9694654e2611aa7e08a90bcb8dedda0da1409 authored about 1 year ago by JP-Ellis <[email protected]>
chore: v2.1.0

Signed-off-by: JP-Ellis <[email protected]>

77124ee0a15a9d9cb334760e4951ebebaa3e59fd authored about 1 year ago by JP-Ellis <[email protected]>
fix(ci): pypi publish

Fix a couple of minor issues with the publishing workflow:

- Only publish releases from tags st...

e266ae5c3969bc8990b0f8905754141ea0aa0aba authored about 1 year ago by JP-Ellis <[email protected]>
feat: bump pact standalone to 2.0.7

Signed-off-by: JP-Ellis <[email protected]>

91850f00dc546b74f3cf123522435a2c59741ed0 authored about 1 year ago by JP-Ellis <[email protected]>
chore(gitignore): update from upstream templates

Signed-off-by: JP-Ellis <[email protected]>

ae019b0321b97e2af50790b040d149af7bef88e9 authored about 1 year ago by JP-Ellis <[email protected]>
fix(github): fix typo in template

The template was adapted from the amazing Docusaurus templates, and
unfortunately a mention to D...

e4315ea023f2766c60a9873e494c6e666e771a98 authored about 1 year ago by JP-Ellis <[email protected]>
chore(example): migrate consumer example

Migrate the consumer example to the new example structure. This should
help reduce the redundanc...

4c47843896785296c47716ac36aa4d6f3e3f2721 authored about 1 year ago by JP-Ellis <[email protected]>
chore: address pr comments

Signed-off-by: JP-Ellis <[email protected]>

9896320b3ed71fc424b926ed98d1b0c3f18adbc3 authored about 1 year ago by JP-Ellis <[email protected]>
chore(example): avoid changing python path

Initially, when having the tests completely separate, the examples were
scoped to their own spac...

e86b7eb9c8d249b8058da2a1c97fa61833f5f8f4 authored about 1 year ago by JP-Ellis <[email protected]>
chore(ci): split tests examples and lints

Try splitting the CI workflow to make use of services

Signed-off-by: JP-Ellis <[email protected]>

045083bce0fcc29ce8dff14dfed8a761d45655fa authored about 1 year ago by JP-Ellis <[email protected]>
chore(example): migrate message pact example

Migrate the old isolated example and combine the test with the other
examples so that they can a...

3a59235bf5589b013d71e949f22f2799d65ed5cf authored about 1 year ago by JP-Ellis <[email protected]>
chore(example): update readme

Update the README for the examples to match the new structure of the
examples.

Signed-off-by: J...

aa0f07e11ed1d725fa80c9b35c46d1fbba037dd5 authored about 1 year ago by JP-Ellis <[email protected]>
feat(example): simplify docker-compose

For the purposes of showcasing an example, the previous `docker-compose`
was rather excessive ru...

8ee2eb09ddd7cb11ace6bc50c00e803c421b9930 authored about 1 year ago by JP-Ellis <[email protected]>
chore(example): migrate flask provider example

Following the changes to the FastAPI example, this migrates the Flask
provider example to the ne...

9488f0ef2c77a88794741f3fbc0f6297b481765b authored about 1 year ago by JP-Ellis <[email protected]>
chore(example): migrate fastapi provider example

This migrates the Pact FastAPI provider from the old standalone
examples, and merges it with the...

dd8827acea0722cf271a075495c9988e8ac830c4 authored about 1 year ago by JP-Ellis <[email protected]>
docs: rewrite contributing.md

This commit rewrites the contributing.md file to be up to date with
the current state of the pro...

3634a5ca4c6817f03d2a07c7ba1d41e75a7e832d authored about 1 year ago by JP-Ellis <[email protected]>
docs: add issue and pr templates

Along with the overhaul of the `CONTRIBUTING.md` file, this commit
adds issue and PR templates t...

6d223fcef1909c9962f86752f00456b4af90a27e authored about 1 year ago by JP-Ellis <[email protected]>
docs: incorporate suggestions from @YOU54F

Signed-off-by: JP-Ellis <[email protected]>

7c60dd5e0979907828b27ff7b9bb5069eec397c8 authored about 1 year ago by JP-Ellis <[email protected]>
chore: update pre-commit config

Signed-off-by: JP-Ellis <[email protected]>

04deeec1eb056b29c9626606f40fedcccaafe37d authored about 1 year ago by JP-Ellis <[email protected]>
chore!: migrate to pyproject.toml and hatch

The previous build process relied on `distutils` which is due to be
deprecated in 3.12. Furtherm...

5b1966552a918f6a513855714b177159b9d8a198 authored about 1 year ago by JP-Ellis <[email protected]>
chore(ci): migrate cicd to hatch

With Hatch as the new build system, the previous GitHub actions no
longer work to lint, test, an...

093d9b85c0c6bfc81be60e990e6c17ca103977fc authored about 1 year ago by JP-Ellis <[email protected]>
style: add pre-commit hooks and editorconfig

Without wanting to overload the pre-commit hooks, this adds a few checks
on the commits to ensur...

d5017f879ab5e8db7ca7104909d7cf1bdd0954f4 authored about 1 year ago by JP-Ellis <[email protected]>
chore: add pact-foundation triage automation

ed5f86c95ae0856338f0fd244c06399ce395f353 authored about 1 year ago by Matt Fellows <[email protected]>
chore: Releasing version 2.0.1

03df5c50ca7c26fe4afe013583b9b1036f5ed796 authored about 1 year ago by Yousaf Nabi <[email protected]>
Merge pull request #361 from pact-foundation/chore/docker_non_linux_os

Chore/docker non linux os

0f4cc4043868e5a294251a99bb4d38e93de0f69e authored about 1 year ago by Yousaf Nabi <[email protected]>
Merge pull request #360 from pact-foundation/chore/upgrade-to-pact-ruby-standalone-2.0.3

Chore/upgrade to pact ruby standalone 2.0.3

2cc49aa24e9ae59ec4a03fe14f10ddf09279e10a authored about 1 year ago by Yousaf Nabi <[email protected]>
Merge pull request #359 from pact-foundation/chore/update_manifest_file

chore: update MANIFEST file to note 2.0.2 standalone

26c8192e911295f5da407333bfc068b0cdaec96b authored about 1 year ago by Yousaf Nabi <[email protected]>
chore(examples): update docker setup for non linux os

d3397b777ea467b71649da6407ec7988e542eaee authored about 1 year ago by Yousaf Nabi <[email protected]>
feat: update standalone to 2.0.3

ef12e5608ead4d9fd710f911ca5f0818ee928c96 authored about 1 year ago by Yousaf Nabi <[email protected]>
chore: update MANIFEST file to note 2.0.2 standalone

1429d2fadeb90dd0eb348d19fbeccb18f98504af authored about 1 year ago by Yousaf Nabi <[email protected]>
chore: Releasing version 2.0.0

00dcacd8ea49e8e90df3005d8883356286d061ae authored over 1 year ago by Yousaf Nabi <[email protected]>
Merge pull request #353 from YOU54F/master-pf-2.0.1-standalone

test: v2.0.2 (pact-2.0.2) - pact-ruby-standalone

42be15704b1c9016920c747aa81daed124b92f27 authored over 1 year ago by Yousaf Nabi <[email protected]>
chore: update to 2.0.2 pact-ruby-standalone

2a244ea550b0dcf75721c74a228060d0fa802ddd authored over 1 year ago by Yousaf Nabi <[email protected]>
test: v2.0.1 (pact-2.0.1) - pact-ruby-standalone

819f0a77d03d3c038c34fbd37e0a62165cb3bbe7 authored over 1 year ago by Yousaf Nabi <[email protected]>
chore(docs): update provider verifier options table

- Table was mismatched, cli args were the python args and some missing
- updated links to examples

c70573c5aefa7bdd341a6d8e6fe6dd4be5ab490b authored over 1 year ago by Yousaf Nabi <[email protected]>
chore(docs): improve table alignment and abs links

9bc3e21ae217804f270e98307ba13957183d68c0 authored over 1 year ago by Yousaf Nabi <[email protected]>
chore(docs): correct table

80f06cfe4a7c7e382dc85b218ac613c8c608d080 authored over 1 year ago by Yousaf Nabi <[email protected]>
style: add missing newline/linefeed

Adding newline characters at the end of files to:
- Comply with POSIX standards
- Improve cross-...

fc6ced8b08aed733ed2406a98bef9554a9da399a authored over 1 year ago by Serghei Iakovlev <[email protected]>
build(deps-dev): bump flask from 2.2.2 to 2.2.5

Bumps [flask](https://github.com/pallets/flask) from 2.2.2 to 2.2.5.
- [Release notes](https://g...

7b14aa3b613adedbbb8ce4ac5378aa355791baeb authored over 1 year ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
build(deps): bump flask from 2.2.2 to 2.2.5 in /examples/flask_provider

Bumps [flask](https://github.com/pallets/flask) from 2.2.2 to 2.2.5.
- [Release notes](https://g...

a0efd69362ada72695ed3104933eb2cb62c27c08 authored over 1 year ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
build(deps): bump flask from 2.2.2 to 2.2.5 in /examples/message

Bumps [flask](https://github.com/pallets/flask) from 2.2.2 to 2.2.5.
- [Release notes](https://g...

1267d7d53193be3ddbbdbe5d5b3978f8bd508dcc authored over 1 year ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
feat: support arm64 osx/linux

93db8ae71657d5967f146b3d37294d76ff69bc0e authored over 1 year ago by Yousaf Nabi <[email protected]>
feat: use pact-ruby-standalone 2.0.0 release

4e3ca3858b8343a5057de506f19a4f3284bb8bd4 authored over 1 year ago by Yousaf Nabi <[email protected]>
ci: skip 3.6 python arm64 failing in cirrus, passing locally with cirrus run

2c673ea8e8d8a5ff67f38c4790fefce9dbdb28ac authored over 1 year ago by Yousaf Nabi <[email protected]>