Thanks! I"m not sure yet if it’s the Ansible code that compares the versions or my code that retrieves it. I suspect it’s my code and it’s a problem of my own making.
For the reasons that the -dev got added, I suspect that I should be checking for a commit hash and then figuring out whether to upgrade based on that.