def check_install_conflicts(to_install):<EOL>
<EOL>package_set, _ = create_package_set_from_installed()<EOL>would_be_installed = _simulate_installation_of(to_install, package_set)<EOL>whitelist = _create_whitelist(would_be_installed, package_set)<EOL>return (<EOL>package_set,<EOL>check_package_set(<EOL>package_set, should_ignore=lambda name: name not in whitelist<EOL>)<EOL>)<EOL>
For checking if the dependency graph would be consistent after \
    installing given requirements