Re'! UddlZddlZddlZddlZddlmZmZmZmZm Z m Z m Z ddl m Z mZmZmZmZmZmZmZmZddlmZmZgdZeeegefZGddeZGd d eZ Gd d eZ!Gd dZ"Gdde"Z#Gdde"Z$Gdde"Z%ededzedzedzedzedzedzedzedzedzedzed zed!zed"zed#zed$zed%zed&zZ&ddddddd'Z'e&(d(ed)ed*zed+zed,zed-zed.zed/zed0zZ)e)ed1zed2zZ*e*(d3ed4ed5zZ+e+(d6ed7ed8zZ,e&e+zZ-ee-e*ze-zZ.e.(d9ed:/Z0ed;/Z1e Z2e.ee0e2ze1zzZ3e2e3ee,e2zzzee2zezZ4dZ5 dYd@e eee e"dAfefdBe ed=efdCZ6dDdEej7ej8ej9ej:ej;ej<dFZ=eeefe>dG<dHedIe%dJed=efdKZ?GdLdMZ@e@ZAdNeeefdOed=efdPZBdQeedNeeefd=efdRZCdSdTd=efdUZDd=eeeffdVZEGdWdXZFdS)ZN)AnyCallableDictListOptionalTupleUnion) ForwardGroupLiteralParseException ParseResults QuotedString ZeroOrMore stringEnd stringStart)InvalidSpecifier Specifier) InvalidMarkerUndefinedComparisonUndefinedEnvironmentNameMarkerdefault_environmentceZdZdZdS)rzE An invalid marker was found, users should refer to PEP 508. N__name__ __module__ __qualname____doc__/builddir/build/BUILDROOT/alt-python311-pip-21.3.1-3.el8.x86_64/opt/alt/python311/lib/python3.11/site-packages/pip/_vendor/packaging/markers.pyrr$r"rceZdZdZdS)rzP An invalid operation was attempted on a value that doesn't support it. Nrr!r"r#rr*r$r"rceZdZdZdS)rz\ A name was attempted to be used that does not exist inside of the environment. Nrr!r"r#rr0sr"rcBeZdZdeddfdZdefdZdefdZdefdZdS)NodevaluereturnNc||_dSN)r))selfr)s r#__init__z Node.__init__8s  r"c*t|jSr,)strr)r-s r#__str__z Node.__str__;s4:r"c(d|jjd|dS)N) __class__rr1s r#__repr__z Node.__repr__>s 74>*77d7777r"ctr,)NotImplementedErrorr1s r# serializezNode.serializeAs!!r") rrrrr.r0r2r7r:r!r"r#r(r(7scd8#8888"3""""""r"r(ceZdZdefdZdS)Variabler*c t|Sr,r0r1s r#r:zVariable.serializeF4yyr"Nrrrr0r:r!r"r#r<r<E/3r"r<ceZdZdefdZdS)Valuer*cd|dS)N"r!r1s r#r:zValue.serializeKs4{{{r"Nr@r!r"r#rCrCJs/3r"rCceZdZdefdZdS)Opr*c t|Sr,r>r1s r#r:z Op.serializePr?r"Nr@r!r"r#rGrGOrAr"rGimplementation_versionplatform_python_implementationimplementation_namepython_full_versionplatform_releaseplatform_versionplatform_machineplatform_systempython_version sys_platformos_nameos.name sys.platformplatform.versionplatform.machineplatform.python_implementationpython_implementationextra)rTrUrVrWrXrYcjtt|d|dSNr)r<ALIASESgetslts r#rcps$QqT1Q41H1H(I(Ir"z=====>=<=!=z~=>r4not ininc,t|dSr\)rGr_s r#rcrcwsAaDr"'rEc,t|dSr\)rCr_s r#rcrczsE!A$KKr"andorc,t|dSr\)tupler_s r#rcrcs51;;r"()resultsr*cHt|tr d|DS|S)Nc,g|]}t|Sr!)_coerce_parse_result).0is r# z(_coerce_parse_result..s!999A$Q''999r") isinstancer)rts r#rwrws-'<((999999r"Tmarker.firstct|tttfsJt|trJt |dkr7t|dttfrt |dSt|tr>d|D}|rd|Sdd|zdzSt|trdd|DS|S)Nrrc38K|]}t|dVdS)F)r}N)_format_markerrxms r# z!_format_marker..s/@@A///@@@@@@r" rrrsc6g|]}|Sr!)r:rs r#rzz"_format_marker..s 7771777r")r{listrqr0lenrjoin)r|r}inners r#rrs ftUC0 1 1111 64  ) KK1   vay4- 0 0 fQi(((&$ @@@@@  /88E?? "%(3. . FE " "xx77777888 r"c ||vSr,r!lhsrhss r#rcrcs 3#:r"c ||vSr,r!rs r#rcrcs s#~r")rjrir4rfrdrgrerh _operatorsroprc ` td||g}||S#t$rYnwxYwt |}|td|d|d|d|||S)Nz Undefined z on z and .)rrr:containsrrr^r)rrrspecopers r#_eval_oprs"",,..#!67788}}S!!!      *~~bllnn==D |!"Mr"M"M"M"MS"M"M"MNNN 4S>>s6A AAceZdZdS) UndefinedN)rrrr!r"r#rrsDr"r environmentnamec||t}t|trt |d|S)Nz* does not exist in evaluation environment.)r^ _undefinedr{rr)rrr)s r#_get_envrsL#.??4#D#DE%## & A A A    Lr"markerscxgg}|D]}t|tttfsJt|tr*|dt ||ft|tr|\}}}t|t rt||j}|j}n|j}t||j}|dt||||dvsJ|dkr|gtd|DS)N)rnroroc34K|]}t|VdSr,)all)rxitems r#rz$_evaluate_markers..s(,,Ts4yy,,,,,,r") r{rrqr0append_evaluate_markersr<rr)rany) rrgroupsr|rrr lhs_value rhs_values r#rrs? "tF""&4"455555 fd # # " 2J  / DD E E E E  & & "!LCS#x(( =$[#)<< I I $[#)<< 2J  hy"i@@ A A A A]****~~ b!!! ,,V,,, , ,,r"infozsys._version_infocd|}|j}|dkr ||dt|jzz }|S)Nz{0.major}.{0.minor}.{0.micro}finalr)format releaselevelr0serial)rversionkinds r#format_full_versionrsH-44T::G  D w47S---- Nr"cttjj}tjj}||t jt jt jt j t jt j t j d t j ddtjd S)Nr) rKrIrSrOrMrPrNrLrJrQrR)rsysimplementationrrosplatformmachinereleasesystemrQrYrpython_version_tuple)iverrKs r#rrs s19 : :D,12"&7$,..$,..#?,,$,..'688*2*H*J*J((8#@#B#B2A2#FGG    r"cdeZdZdeddfdZdefdZdefdZd deeeefde fdZ dS) rr|r*Nc  tt||_dS#t$r/}t d|d||j|jdzd}~wwxYw)NzInvalid marker: z, parse error at )rwMARKER parseString_markersr rloc)r-r|es r#r.zMarker.__init__s 01C1CF1K1KLLDMMM   1611!%!%!)+,11  s,0 A)*A$$A)c*t|jSr,)rrr1s r#r2zMarker.__str__sdm,,,r"cd|dS)Nz rs   DDDDDDDDDDDDDDDDDD                      43333333    S#J$ %J * z " " " " " " " "t D  Aa())*aaa  a  a aaa a ll a ll a a aa())* a  !!"ajj# *"**&F=    IIJJJAeHHqqww4 11T77*QQtWW4qqww>3G!!C&&P  !!H++ %$ / 11222|C  <<#4#44 77888 5AAdGG   $ eJ*Z788 66777 3   3  gii EE&;"6"?@@@ {ZZ(<===== { "Y .% d3i(?"@T#YNR $s)U49-s2 3