The preprocessor did not have access to all the target's dependencies.
| 78 | |
| 79 | |
| 80 | class MissingDependenciesError(PreprocessorFailure): |
| 81 | """The preprocessor did not have access to all the target's dependencies.""" |
| 82 | |
| 83 | @classmethod |
| 84 | def _msg(cls, missing, **ignored): |
| 85 | msg = 'preprocessing failed due to missing dependencies' |
| 86 | if missing: |
| 87 | msg = f'{msg} ({", ".join(missing)})' |
| 88 | return msg |
| 89 | |
| 90 | def __init__(self, filename, missing=None, *args, **kwargs): |
| 91 | self.missing = _as_tuple(missing) or None |
| 92 | |
| 93 | super().__init__(filename, *args, **kwargs) |
| 94 | |
| 95 | |
| 96 | class OSMismatchError(MissingDependenciesError): |
no outgoing calls
no test coverage detected
searching dependent graphs…