Add dependency checks for Perforce.
Review Request #12550 — Created Aug. 18, 2022 and submitted
PerforceClientto add formal support for dependency
PerforceClient.check_dependencies()now determines if
installed via the existing wrapper class's
PerforceClient.get_local_path()now calls this instead of checking for
dependencies itself, emitting a warning if dependencies haven't already
been checked via
Unit tests have been updated to include new dependency-related tests.
These tests aren't sensitive to
p4anyway as they already simulate
responses rather than calling into it, so there's no change in behavior
Unit tests pass on Python 3.7-3.11.