smac.utils.dependencies

Functions

verify_packages(packages)

Verifies packages.

Exceptions

IncorrectPackageVersionError(package_name, ...)

MissingPackageError(package_name)

exception smac.utils.dependencies.IncorrectPackageVersionError(package_name, installed_version, operation, required_version)[source]

Bases: Exception

exception smac.utils.dependencies.MissingPackageError(package_name)[source]

Bases: Exception

smac.utils.dependencies.verify_packages(packages)[source]

Verifies packages. Calls _verify_packages as subroutine.

Parameters

packages (Union[List[str], str]) – Packages to verify.

Raises

ValueError – If requirements can not be read.

Return type

None