kgh ddlmZddlmZddlmZmZmZddlm Z ddl m Z m Z ee ZGdde e e efZGd d e e e efZd S) ) defaultdict) getLogger)Any DefaultDictOptional) BaseReporter) Candidate Requirementc*eZdZddZdededdfdZdS) PipReporterreturnNcNtt|_dddd|_dS)Nzpip is looking at multiple versions of {package_name} to determine which version is compatible with other requirements. This could take a while.zpip is still looking at multiple versions of {package_name} to determine which version is compatible with other requirements. This could take a while.zThis is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. See https://pip.pypa.io/warnings/backtracking for guidance. If you want to abort this run, press Ctrl + C.)r  )rintreject_count_by_package_messages_at_reject_countselfs /builddir/build/BUILD/imunify360-venv-2.6.0/opt/imunify360/venv/lib/python3.11/site-packages/pip/_internal/resolution/resolvelib/reporter.py__init__zPipReporter.__init__ s7>I#>N>N$9 9 K* * &&& criterion candidatec|j|jxxdz cc<|j|j}||jvrdS|j|}td||jd}|jD]I}|j|j}}|dz }|r||jd|j dz }n|dz }|| z }Jt |dS) Nr zINFO: %s) package_namez0Will try a different candidate, due to conflict:z  z depends on zThe user requested ) rnamerloggerinfoformat information requirementparentversionformat_for_errordebug) rrrcountmessagemsgreq_inforeqr%s rrejecting_candidatezPipReporter.rejecting_candidate#s $Y^4449444,Y^< 6 6 6 F07 JIN K KLLL@!- * *H".C 8OC -&+DDDDDD,, 3'')) )CC SrrN)__name__ __module__ __qualname__rrr r.rrr r sQ    ,SY4rr ceZdZdZddZdeddfdZdededdfdZdeddfd Z d e d e e ddfd Z d ede ddfdZde ddfdZdS)PipDebuggingReporterz9A reporter that does an info log for every event it sees.rNc:tddS)NzReporter.starting()r r!rs rstartingzPipDebuggingReporter.starting=s )*****rindexc<td|dS)NzReporter.starting_round(%r)r7)rr9s rstarting_roundz#PipDebuggingReporter.starting_round@s 1599999rstatecttd|td||dS)Nz Reporter.ending_round(%r, state)zReporter.ending_round(%r, %r))r r!r()rr9r<s r ending_roundz!PipDebuggingReporter.ending_roundCs4 6>>> 4eUCCCCCrc<td|dS)NzReporter.ending(%r)r7)rr<s rendingzPipDebuggingReporter.endingGs )511111rr$r%c>td||dS)Nz#Reporter.adding_requirement(%r, %r)r7)rr$r%s radding_requirementz'PipDebuggingReporter.adding_requirementJs!  9;OOOOOrrrc>td||dS)Nz$Reporter.rejecting_candidate(%r, %r)r7)rrrs rr.z(PipDebuggingReporter.rejecting_candidateOs :IyQQQQQrc<td|dS)NzReporter.pinning(%r)r7)rrs rpinningzPipDebuggingReporter.pinningRs *I66666rr/)r0r1r2__doc__r8rr;rr>r@r rr rBr.rEr3rrr5r5:s,CC++++:C:D::::D#DcDdDDDD2C2D2222P&P080CP PPPP RSRYR4RRRR77t777777rr5N) collectionsrloggingrtypingrrr pip._vendor.resolvelib.reportersrbaser r r0r strr r5r3rrrMs######----------999999(((((((( 8  +++++,{Is:;+++\77777< Y(CD77777r