Add dependency checks for Plastic.
Review Request #12552 — Created Aug. 18, 2022 and submitted
This updates
PlasticClient
to add formal support for dependency
checks.PlasticClient.check_dependencies()
now determines ifcm
is
installed.
PlasticClient.get_local_path()
now calls this instead of checking for
dependencies itself, emitting a warning if dependencies haven't already
been checked viasetup()
orhas_dependencies()
.Unit tests for Plastic didn't previously exist. This change adds some
dependency check tests for it.It's unclear whether Plastic still actually works today, unfortunately,
as this was a contribution that never received updates. However this is
at least a step toward actual testing.
Unit tests pass on Python 3.7-3.11.
Summary | ID |
---|---|
e112e8454976d2be5ef9b27ffb18d8737e2befc7 |
Description | From | Last Updated |
---|---|---|
'rbtools.deprecation.RemovedInRBTools50Warning' imported but unused Column: 1 Error code: F401 |
reviewbot |
- Change Summary:
-
Removed an unused import.
- Commits:
-
Summary ID b540fd9dc05da7eeccf41748733a6582b4f0d4df 1a80b65ac713229cf241a38299b7e38c1c3edd43