Remove deprecated warning from SCMClient.has_dependencies.

Review Request #14487 — Created June 27, 2025 and submitted — Latest diff uploaded

Information

RBTools
master

Reviewers

The has_dependencies() method has for a while had an expect_checked
parameter which will skip setup in the case where we know that we've
already done it. This raised a deprecation warning about being removed
in RBTools 5, but we never did so. This change modifies the warning to
be an exception instead, and updates all the relevant test cases to
match.

Ran unit tests.

Diff Revision 2 (Latest)

orig
1
2

Commits

First Last Summary ID Author
Remove deprecated warning from SCMClient.has_dependencies.
The `has_dependencies()` method has for a while had an `expect_checked` parameter which will skip setup in the case where we know that we've already done it. This raised a deprecation warning about being removed in RBTools 5, but we never did so. This change modifies the warning to be an exception instead, and updates all the relevant test cases to match. Testing Done: Ran unit tests.
ee51876b57d5c3cf17ef64369be31b2d31aa6497 David Trowbridge
rbtools/clients/base/scmclient.py
rbtools/clients/tests/test_base_scmclient.py
rbtools/clients/tests/test_bzr.py
rbtools/clients/tests/test_clearcase.py
rbtools/clients/tests/test_cvs.py
rbtools/clients/tests/test_git.py
rbtools/clients/tests/test_mercurial.py
rbtools/clients/tests/test_p4.py
rbtools/clients/tests/test_sos.py
rbtools/clients/tests/test_svn.py
rbtools/clients/tests/test_tfs.py
Loading...