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.