I don't think snapcraft can just "treat the version always as a string"
without departing from (unfortunate) YAML syntax:
>>> import yaml
>>> yaml.safe_load('version: 2.10')
{'version': 2.1}
>>> yaml.safe_load('version: "2.10"')
{'version': '2.10'}
Perhaps the right answer is to go through documentation and make sure
that the examples for version: always make it be an explicit string?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1586988
Title:
Version 2.10 is converted to 2.1
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapcraft/+bug/1586988/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs