Add dependency checks for SOS.

Review Request #12551 — Created Aug. 18, 2022 and submitted

Information

RBTools
release-4.x

Reviewers

This updates SOSClient to add formal support for dependency checks.
SOSClient.check_dependencies() now determines if soscmd is
installed.

SOSClient.get_local_path() now calls this instead of checking for
dependencies itself, emitting a warning if dependencies haven't already
been checked via setup() or has_dependencies().

SOS unit tests simulated results, so the test skipping abilities are not
used. New tests have been added to test the SOS dependency check
functionality.

Unit tests pass for Python 3.7-3.11.

Summary ID
Add dependency checks for SOS.
This updates `SOSClient` to add formal support for dependency checks. `SOSClient.check_dependencies()` now determines if `soscmd` is installed. `SOSClient.get_local_path()` now calls this instead of checking for dependencies itself, emitting a warning if dependencies haven't already been checked via `setup()` or `has_dependencies()`. SOS unit tests simulated results, so the test skipping abilities are not used. New tests have been added to test the SOS dependency check functionality.
108ff37dd085beb478fbe90ae2fa876b697128e5
david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-4.x (5ca547e)
Loading...