though a comment that all dev versions with the same major number are considered equal would be good, the question could come up when reading the docstring