![]() |
Qucs-S S-parameter Viewer & RF Synthesis Tools
|
Classes | |
| class | PackageDetails |
Functions | |
| Tuple[PackageSet, bool] | create_package_set_from_installed () |
| CheckResult | check_package_set (PackageSet package_set, Optional[Callable[[str], bool]] should_ignore=None) |
| ConflictDetails | check_install_conflicts (List[InstallRequirement] to_install) |
| Set[NormalizedName] | _simulate_installation_of (List[InstallRequirement] to_install, PackageSet package_set) |
| Set[NormalizedName] | _create_whitelist (Set[NormalizedName] would_be_installed, PackageSet package_set) |
| None | warn_legacy_versions_and_specifiers (PackageSet package_set) |
Variables | |
| logger = logging.getLogger(__name__) | |
| PackageSet = Dict[NormalizedName, PackageDetails] | |
| Missing = Tuple[NormalizedName, Requirement] | |
| Conflicting = Tuple[NormalizedName, DistributionVersion, Requirement] | |
| MissingDict = Dict[NormalizedName, List[Missing]] | |
| ConflictingDict = Dict[NormalizedName, List[Conflicting]] | |
| CheckResult = Tuple[MissingDict, ConflictingDict] | |
| ConflictDetails = Tuple[PackageSet, CheckResult] | |
Validation of dependencies of packages
|
protected |
Computes the version of packages after installing to_install.
| ConflictDetails pip._internal.operations.check.check_install_conflicts | ( | List[InstallRequirement] | to_install | ) |
For checking if the dependency graph would be consistent after \ installing given requirements
| CheckResult pip._internal.operations.check.check_package_set | ( | PackageSet | package_set, |
| Optional[Callable[[str], bool]] | should_ignore = None |
||
| ) |
Check if a package set is consistent If should_ignore is passed, it should be a callable that takes a package name and returns a boolean.
| Tuple[PackageSet, bool] pip._internal.operations.check.create_package_set_from_installed | ( | ) |
Converts a list of distributions into a PackageSet.