h` ddlmZddlmZddlmZmZddlmZddl m Z m Z ee Z GddeZGd d eZd S) ) defaultdict) getLogger)Any DefaultDict) 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.5.2/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) NrzINFO: %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 Srr N)__name__ __module__ __qualname__rrr r-rrr r sQ    ,SY4rr ceZdZdZddZdeddfdZdededdfdZdeddfd Z d e d e ddfd Z d ede ddfdZ de ddfdZdS)PipDebuggingReporterz9A reporter that does an info log for every event it sees.r Nc:tddS)NzReporter.starting()rr rs rstartingzPipDebuggingReporter.starting=s )*****rindexc<td|dS)NzReporter.starting_round(%r)r6)rr8s rstarting_roundz#PipDebuggingReporter.starting_round@s 1599999rstatecttd|td||dS)Nz Reporter.ending_round(%r, state)zReporter.ending_round(%r, %r))rr r')rr8r;s r ending_roundz!PipDebuggingReporter.ending_roundCs4 6>>> 4eUCCCCCrc<td|dS)NzReporter.ending(%r)r6)rr;s rendingzPipDebuggingReporter.endingGs )511111rr#r$c>td||dS)Nz#Reporter.adding_requirement(%r, %r)r6)rr#r$s radding_requirementz'PipDebuggingReporter.adding_requirementJs 9;OOOOOrrrc>td||dS)Nz$Reporter.rejecting_candidate(%r, %r)r6)rrrs rr-z(PipDebuggingReporter.rejecting_candidateMs :IyQQQQQrc<td|dS)NzReporter.pinning(%r)r6)rrs rpinningzPipDebuggingReporter.pinningPs *I66666rr.)r/r0r1__doc__r7rr:rr=r?r r rAr-rDr2rrr4r4:s%CC++++:C:D::::D#DcDdDDDD2C2D2222PkP9PQUPPPPRSRYR4RRRR77t777777rr4N) collectionsrloggingrtypingrr pip._vendor.resolvelib.reportersrbaser r r/rr r4r2rrrKs##############999999(((((((( 8  +++++,+++\77777<77777r