\h@ddlmZddlmZmZddlmZddlmZddl m Z m Z m Z m Z Gdde ZGd d e ZGd d eZGd de ZGdde Zy)) SpecifierSet)NormalizedNamecanonicalize_name)install_req_drop_extras)InstallRequirement) CandidateCandidateLookup Requirement format_nameceZdZdeddfdZdefdZdefdZede fdZ edefdZ defd Z de fd Zdedefd Zy) ExplicitRequirement candidatereturnNc||_yNrselfrs s/root/niggaflix-v3/playground/venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/requirements.py__init__zExplicitRequirement.__init__ s "c,t|jSr)strrrs r__str__zExplicitRequirement.__str__s4>>""rcN|jjd|jdSN()) __class____name__rrs r__repr__zExplicitRequirement.__repr__s%..))*!DNN+=Q??rc.|jjSr)r project_namers rr%z ExplicitRequirement.project_names~~***rc.|jjSr)rnamers rr'zExplicitRequirement.names~~"""rc6|jjSr)rformat_for_errorrs rr)z$ExplicitRequirement.format_for_errors~~..00rc|jdfSrrrs rget_candidate_lookupz(ExplicitRequirement.get_candidate_lookup!s~~t##rc ||jk(Srrrs ris_satisfied_byz#ExplicitRequirement.is_satisfied_by$sDNN**r)r" __module__ __qualname__r rrrr#propertyrr%r'r)r r+boolr-rrrr s#)####@#@+n++#c##1#1$o$++t+rrceZdZdeddfdZdefdZdefdZede fdZ edefdZ defd Z de fd Zd edefd Zy) SpecifierRequirementireqrNc|jJd||_td|jjD|_y)NThis is a link, not a specifierc32K|]}t|ywrr.0es r z0SpecifierRequirement.__init__.., Q!!21!5 Q)link_ireq frozensetextras_extrasrr5s rrzSpecifierRequirement.__init__)s;yy C"CC   Qtzz?P?P QQ rc@t|jjSr)rrAreqrs rrzSpecifierRequirement.__str__.s4::>>""rct|jjdt|jjdSr)r!r"rrArGrs rr#zSpecifierRequirement.__repr__1s...))*!C ,?+B!DDrc|jjsJdt|jjjS)N'Specifier-backed ireq is always PEP 508)rArGrr'rs rr%z!SpecifierRequirement.project_name4s1zz~~HHH~ !4!455rcBt|j|jSr)r r%rDrs rr'zSpecifierRequirement.name9s4,,dll;;rct|jdDcgc]}|j}}t|dk(ryt|dk(r|dSdj |dddz|dzScc}w)N,rrz, z and )rsplitstriplenjoin)rspartss rr)z%SpecifierRequirement.format_for_error=st %(IOOC$89q99 u:? Z1_8Oyys$w.r:: :sA5cd|jfSr)rArs rr+z)SpecifierRequirement.get_candidate_lookupJsTZZrrc*|j|jk(s!Jd|jd|j|jjsJd|jjj}|j |j dS)Nz6Internal issue: Candidate is not for this requirement z vs rJT prereleases)r'rArG specifiercontainsversion)rrspecs rr-z$SpecifierRequirement.is_satisfied_byMs~~* D~~d499+ / *zz~~HHH~zz~~''}}Y..D}AAr)r"r.r/rrrrr#r0rr%r'r)r r+r r1r-r2rrr4r4(sR/RDR ##E#E6n66.cr>r?)r@rrArBrCrDrEs rrz*SpecifierWithoutExtrasRequirement.__init__`s@yy C"CC ,T2  Qtzz?P?P QQ r)r"r.r/__doc__rrr2rrr_r_Zs R/RDRrr_ceZdZdZdededdfdZdefdZdefdZ e de fd Z e defd Z defd Zdefd Zd edefdZy)RequiresPythonRequirementz4A requirement representing Requires-Python metadata.rZmatchrNc ||_||_yr)rZ _candidate)rrZres rrz"RequiresPythonRequirement.__init__is"rc d|jS)NzPython )rZrs rrz!RequiresPythonRequirement.__str__ms())rc`|jjdt|jdSr)r!r"rrZrs rr#z"RequiresPythonRequirement.__repr__ps*..))*!C,?+B!DDrc.|jjSr)rgr%rs rr%z&RequiresPythonRequirement.project_namess+++rc.|jjSr)rgr'rs rr'zRequiresPythonRequirement.namews###rct|Srrrs rr)z*RequiresPythonRequirement.format_for_error{ 4yrc|jj|jjdr|jdfSy)NTrXNN)rZr[rgr\rs rr+z.RequiresPythonRequirement.get_candidate_lookup~s5 >> " "4??#:#: " M??D( (rrc|j|jjk(sJd|jj|jdS)NzNot Python candidateTrX)r'rgrZr[r\rs rr-z)RequiresPythonRequirement.is_satisfied_bysF~~!5!55M7MM5~~&&y'8'8d&KKr)r"r.r/rbrr rrrr#r0rr%r'r)r r+r1r-r2rrrdrdfs> , y T **E#E,n,,$c$$#o LLtLrrdceZdZdZdeddfdZdefdZdefdZe defdZ e defd Z defd Z de fd Zd edefd Zy)UnsatisfiableRequirementz'A requirement that cannot be satisfied.r'rNc||_yr_name)rr's rrz!UnsatisfiableRequirement.__init__s  rc |jdS)Nz (unavailable)rurs rrz UnsatisfiableRequirement.__str__s**^,,rc`|jjdt|jdSr)r!r"rrvrs rr#z!UnsatisfiableRequirement.__repr__s)..))*!C O+>a@@rc|jSrrurs rr%z%UnsatisfiableRequirement.project_name zzrc|jSrrurs rr'zUnsatisfiableRequirement.namerzrct|Srrmrs rr)z)UnsatisfiableRequirement.format_for_errorrnrcy)Nrpr2rs rr+z-UnsatisfiableRequirement.get_candidate_lookupsrrcy)NFr2rs rr-z(UnsatisfiableRequirement.is_satisfied_bysr)r"r.r/rbrrrrr#r0r%r'r)r r+r r1r-r2rrrsrss1^--A#Anc#otrrsN) pip._vendor.packaging.specifiersrpip._vendor.packaging.utilsrrpip._internal.req.constructorsrpip._internal.req.req_installrbaser r r r rr4r_rdrsr2rrrs\9IB<FF+++