bolero.utils.dependency
.compatible_version¶bolero.utils.dependency.
compatible_version
(actual_version_info, operation)[source]¶Compares version strings.
Parameters: |
|
---|---|
Returns: |
|
Examples
>>> from bolero.utils.dependency import compatible_version
>>> compatible_version("1", ">= 0.1.2")
True
>>> compatible_version("sklearn", "> 0.0.0")
True