Deprecate is_valid_version() and remove all usage.
Review Request #12645 — Created Sept. 25, 2022 and submitted — Latest diff uploaded
is_valid_version()
is one of our older methods, intended to compare
tuples of integers together. This was from a type before we understood
Python well enough to know we could just compare tuples directly.This change deprecates
is_valid_version()
in favor of just comparing
tuples, and updates all code to do so.
All unit tests pass.
rbtools/clients/git.py |
---|
rbtools/clients/tests/test_svn.py |
---|
rbtools/utils/checks.py |
---|
rbtools/utils/tests/test_checks.py |
---|