VULN_CHECK_I913V6 j`ddlZddlmZddlmZmZddlmZddlm Z ddl m Z ddl m Z ddlmZej eZGd d Zy) N) OrderedDict)DictList)LegacySpecifier)canonicalize_name) LegacyVersion)InstallRequirement) deprecatedceZdZddeddfdZdefdZdefdZdeddfdZ deddfd Z d edefd Z d edefd Z e deefd Ze deefdZddZy)RequirementSetcheck_supported_wheelsreturnNc>t|_||_g|_y)zCreate a RequirementSet.N)r requirementsr unnamed_requirements)selfr s >/usr/lib/python3.12/site-packages/pip/_internal/req/req_set.py__init__zRequirementSet.__init__s@!ctd|jjDd}djd|DS)Nc3:K|]}|jr|ywN) comes_from.0reqs r z)RequirementSet.__str__..s M6ScnnS6sc4t|jxsdSNrnamers rz(RequirementSet.__str__..-chhn"=rkey c3FK|]}t|jywrstrrrs rrz)RequirementSet.__str__..s= CGG !)sortedrvaluesjoin)rrs r__str__zRequirementSet.__str__s= MD--446 M= xx= ===rct|jjd}d}|j|jj t |djd|DS)Nc4t|jxsdSrr!r#s rr$z)RequirementSet.__repr__.."r%rr&z4<{classname} object; {count} requirement(s): {reqs}>z, c3FK|]}t|jywrr*rs rrz*RequirementSet.__repr__..)s@>> rcnt|}||jvr|j|Std|)NzNo project with the name )rrKeyErrorrGs rget_requirementzRequirementSet.get_requirement>s>(. 4,, ,$$\2 224(;<.isS]Tz$8]szpip has selected r(z- which has non standard dependency specifier z . In the future this version of z0 will be ignored as it isn't standard compliant.) rQget_distversionrXrr iter_dependenciesany specifier)rrr[deps r#warn_legacy_versions_and_specifiersz2RequirementSet.warn_legacy_versions_and_specifiersWs//Clln,,G'=1DWIN!U#BC R " ||~779SS]]SS/uAgY?==@EB==@EBFG V$ & :!0r)T)rN)r9 __module__ __qualname__boolrr+r0r<r rArDrHrKpropertyrrNrQr`rrr r sAtAtA>>  #  63E6$661C66  C D =C=,>=L$'9":LL  .@)A     rr )logging collectionsrtypingrr pip._vendor.packaging.specifiersrpip._vendor.packaging.utilsrpip._vendor.packaging.versionrpip._internal.req.req_installr pip._internal.utils.deprecationr getLoggerr9loggerr rerrrps;#<97<6   8 $hhr