You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Implement Version.is_compatible() method
* Update test cases
* Update documentation
* Rename isvalid method to is_valid to make it consistent
with is_compatible
The algorithm checks:
* if the two majors are different, it's incompatible
* if the two majors are equal, but the minor of the new
version is lower than the old, it's incompatible
* if both prereleases are present and different,
it's incompatible
* otherwise it's compatible
The algorithm does *not* check patches!
Co-authored-by: Lexi Robinson <[email protected]>
Co-authored-by: Thomas Laferriere <[email protected]>
Co-authored-by: Raphael Krupinski <[email protected]>
The pull request :pr:`284` introduced the method :meth:`Version.is_compatible <semver.Version.is_compatible>`. To keep consistency, the development team
50
+
decided to rename the :meth:`isvalid <semver.Version.isvalid>` to :meth:`is_valid <semver.Version.is_valid>`.
0 commit comments