Malformed version number string 9bb9d91 (ArgumentError)
See original GitHub issueversion: pact-python (v 1.3.0)
use case: Using pact-python to publish a consumer test to a pactflow broker.
Reading the docs, it suggests using the commit SHA or something unique for the versioning. When passing other than a string in the format “x.x.x” I get the below error.
example
pact = Consumer(
"example",
tag_with_git_branch=True,
tags=[prod_tag_flag]
).has_pact_with(
Provider("exampleName"),
host_name=mock_host,
port=mock_port,
publish_to_broker=True,
broker_base_url=pact_broker_url,
broker_token=pact_token,
version="1.0.0" <---- ideally this would be dynamic and unique.
)
error
Malformed version number string 9bb9d91 (ArgumentError)
Am I misunderstanding the use of the version
property here?
Or, is this where in fact I should be passing a string of the commit SHA for publication?
I have posted this into the pact slack channel also.
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (7 by maintainers)
Top Results From Across the Web
Malformed version number string $(inherited) · Issue #6634
What did you do? I run pod install on my podfile : `# Uncomment this line to define a global platform for your...
Read more >malformed version number string data (ArgumentError) - Stack ...
I added a new folder ./data inside boxes\ubuntu-xenial64\ and edited the Vagrantfile by uncommenting this line: config.vm.synced_folder ".
Read more >Malformed version number string ["5.1", "5.0"] - Unity Forum
When trying to use the command "pod install" in the terminal on MacOS for a Unity build that uses Facebook SDK, cocoapods, and...
Read more >Malformed version number string compass - Google Groups
Hi I've started getting the above error when trying to start either console or webbrick - but only on my host (railsplayground.net).
Read more >Malformed version number string Yarn v0.1.1 2011 Jesper ...
I have webpacker gem and yarn gem.. and I'm stuck with this error: (help please :)) # console $ bin/rails webpacker:install rails ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The example e2e uses this flag. I’m not going to put a broken example in to prove it! I think the unit tests cover it.
Hi @elliottmurray, apologies, I did see this but forgot to come back to it. It looks OK to my eye, but will need confirmation of somebody actually running the publish step this way. Thanks for fixing!