Hey there! I was just looking at the <pact-python ...
# pact-python
j
Hey there! I was just looking at the pact-python examples for provider verification and just realized that it doesn't look like there's any way to specify what version of the consumer I want to pull the pact for to test. Am I missing it somewhere? Thank you for the help 🙂
m
You wouldn't usually specify the consumer version on the provider side - that's going to couple things a little too tightly. This is where branches/tags and other consumer version selectors are used
j
Not sure I understand. If we want to deploy a new version of the provider to an environment and the version of the consumer which is in that environment is not the latest, would I not want to specify the consumer's branch/tag/environment rather than defaulting to "latest" since "latest" doesn't apply in this case?
m
Yes exactly. Sorry you mentioned
version
which would require to much information about the consumer, but certainly a tag or environment would be recommended