Skip to main content

check_environment_compatibility

Function check_environment_compatibility 

Source
pub fn check_environment_compatibility(
    environment: &PythonEnvironment,
    kind: EnvironmentKind,
    python_request: Option<&PythonRequest>,
    python_preference: PythonPreference,
    python_arch: Option<PythonArchitecture>,
    requires_python: Option<&RequiresPython>,
    cache: &Cache,
) -> Result<(), EnvironmentIncompatibilityError>
Expand description

Check whether an environment satisfies the requested Python constraints.