§ ]<ˆjÿãó—dZddlZddlZddlZddlmZddlmZmZm Z ddl m Z ddl m Z ddlmZer ddlmZdd lmZeje¦«Zd e d fd „ZGd „de¦«Zddded dfd„ZGd„de e¦«ZdS)a& Contains command classes which may interact with an index / the network. Unlike its sister module, req_command, this module still uses lazy imports so commands which don't always hit the network (e.g. list w/o --outdated or --uptodate) don't need waste time importing PipSession and friends. éN)ÚValues)Ú TYPE_CHECKINGÚListÚOptional)Úcertifi)ÚCommand)ÚCommandContextMixIn)Ú SSLContext©Ú PipSessionÚreturnr có¦—tjdkrt d¦«dS ddl}n+#t $rt d¦«YdSwxYw ddlm}n+#t $rt d¦«YdSwxYw|  |j ¦«}|  tj ¦«¦«|S)N)éé z7Disabling truststore because Python version isn't 3.10+rz1Disabling truststore since ssl support is missing)Ú truststorez5Disabling truststore because platform isn't supported)ÚsysÚ version_infoÚloggerÚdebugÚsslÚ ImportErrorÚwarningÚ pip._vendorrr ÚPROTOCOL_TLS_CLIENTÚload_verify_locationsrÚwhere)rrÚctxs úq/builddir/build/BUILD/cloudlinux-venv-1.0.12/venv/lib/python3.11/site-packages/pip/_internal/cli/index_command.pyÚ_create_truststore_ssl_contextrsó€Ý Ô˜'Ò!Ð!Ý� Š ÐNÑOÔOÐO؈tðØˆ ˆ ˆ ˆ øÝ ðððÝ�ŠÐJÑKÔKÐK؈tˆtðøøøðØ*Ð*Ð*Ð*Ð*Ð*Ð*øÝ ðððÝ�ŠÐNÑOÔOÐO؈tˆtðøøøð × Ò  Ô 7Ñ 8Ô 8€CØ×Ò�gœm™oœoÑ.Ô.Ð.Ø €Js!®3³$AÁAÁA&Á&$B Bc 󢇗eZdZdZd ˆfd„ Zededeee fd„¦«Z deddfd„Z d ded ee d ee ddfd „Z ˆxZS)ÚSessionCommandMixinzE A class mixin for command classes needing _build_session(). r NcóV•—t¦« ¦«d|_dS)N)ÚsuperÚ__init__Ú_session)ÚselfÚ __class__s €rr$zSessionCommandMixin.__init__7s$ø€Ý ‰Œ×ÒÑÔÐØ.2ˆŒ ˆ ˆ óÚoptionscóЗg}t|dd¦«s(t|dd¦«}|r| |¦«t|dd¦«}|r| |¦«|pdS)z7Return a list of index urls from user-provided options.Úno_indexFÚ index_urlNÚextra_index_urls)ÚgetattrÚappendÚextend)Úclsr)Ú index_urlsÚurlÚurlss rÚ_get_index_urlsz#SessionCommandMixin._get_index_urls;sƒ€ðˆ Ý�w  ¨EÑ2Ô2ð 'ݘ' ;°Ñ5Ô5ˆCØð 'Ø×!Ò! #Ñ&Ô&Ð&Ý�wÐ 2°DÑ9Ô9ˆØ ð $Ø × Ò ˜dÑ #Ô #Ð #àÐ!˜TÐ!r(r cóŠ—|j€6| | |¦«¦«|_|j€J‚|jS)zGet a default-managed session.)r%Ú enter_contextÚ_build_session)r&r)s rÚget_default_sessionz'SessionCommandMixin.get_default_sessionIsE€à Œ=Ð Ø ×.Ò.¨t×/BÒ/BÀ7Ñ/KÔ/KÑLÔLˆDŒMð”=Ð,Ð,Ð,ØŒ}Ðr(ÚretriesÚtimeoutcóH—ddlm}|j}|r!tj |¦«sJ‚d|jvrt¦«}nd}||r tj |d¦«nd|�|n|j |j |  |¦«|¬¦«}|j r |j |_ |jr |j|_ |js|r|�|n|j|_|jr|j|jdœ|_d|_|j |j_|j|j_|S)Nrr z legacy-certszhttp-v2)Úcacher:Ú trusted_hostsr2Ú ssl_context)ÚhttpÚhttpsF)Úpip._internal.network.sessionr Ú cache_dirÚosÚpathÚisabsÚdeprecated_features_enabledrÚjoinr:r>r5ÚcertÚverifyÚ client_certr;ÚproxyÚproxiesÚ trust_envÚno_inputÚauthÚ promptingÚkeyring_provider)r&r)r:r;r rCr?Úsessions rr8z"SessionCommandMixin._build_sessionSs]€ð =Ð<Ð<Ð<Ð<Ð<àÔ%ˆ ØÐ8¥¤§ ¢ ¨iÑ 8Ô 8Ð8Ð8Ð8à  Ô!DÐ DÐ DÝ8Ñ:Ô:ˆKˆKàˆKà�*Ø8AÐK•"”'—,’,˜y¨)Ñ4Ô4Ð4ÀtØ&Ð2�G�G¸¼Ø!Ô/Ø×+Ò+¨GÑ4Ô4Ø#ð  ñ ô ˆð Œ<ð *Ø$œ\ˆGŒNð Ô ð /Ø"Ô.ˆGŒLð Œ?ð R˜gð RØ)0Ð)<˜g˜gÀ'Ä/ˆGŒOð Œ=ð &àœ Ø œððˆGŒOð!&ˆGÔ ð&-Ô%5Ð!5ˆŒ ÔØ(/Ô(@ˆŒ Ô%àˆr()r N)NN)Ú__name__Ú __module__Ú __qualname__Ú__doc__r$Ú classmethodrrrÚstrr5r9Úintr8Ú __classcell__)r's@rr!r!2sïø€€€€€ððð3ð3ð3ð3ð3ð3ðð " fð "°¸$¸s¼)Ô1Dð "ð "ð "ñ„[ð "ð¨6ð°lððððð"&Ø!%ð 0ð0àð0ð˜#”ð0ð˜#”ð 0ð ð 0ð0ð0ð0ð0ð0ð0ð0r(r!rSr r)có*—ddlm}|||¦«dS)Nr)Úpip_self_version_check)Ú!pip._internal.self_outdated_checkr])rSr)Úchecks rÚ_pip_self_version_checkr`†s,€ØQÐQÐQÐQÐQÐQà €Eˆ'�7ÑÔÐÐÐr(có"—eZdZdZdeddfd„ZdS)ÚIndexGroupCommandz– Abstract base class for commands with the index_group options. This also corresponds to the commands that permit the pip version check. r)r Ncó†—t|d¦«sJ‚|js|jrdS | |dt d|j¦«¬¦«}|5t ||¦«ddd¦«dS#1swxYwYdS#t$r:t  d¦«t  dd¬ ¦«YdSwxYw) z€ Do the pip version check if not disabled. This overrides the default behavior of not doing the check. r+Nré)r:r;z6There was an error checking the latest version of pip.zSee below for errorT)Úexc_info) ÚhasattrÚdisable_pip_version_checkr+r8Úminr;r`Ú Exceptionrrr)r&r)rSs rÚhandle_pip_version_checkz*IndexGroupCommand.handle_pip_version_check“s2€õ�w  Ñ+Ô+Ð+Ð+Ð+à Ô ,ð °Ô0@ð Ø ˆFð ?à×)Ò)ØØÝ˜A˜wœÑ/Ô/ð*ñôˆGð ð :ð :Ý'¨°Ñ9Ô9Ð9ð :ð :ð :ñ :ô :ð :ð :ð :ð :ð :ð :ð :øøøð :ð :ð :ð :ð :ð :øåð ?ð ?ð ?Ý �NŠNÐSÑ TÔ TÐ TÝ �LŠLÐ.¸ˆLÑ >Ô >Ð >Ð >Ð >Ð >ð ?øøøs6¤-A<ÁA/Á" A<Á/A3Á3A<Á6A3Á7A<Árrs„ðððð€€€Ø € € € Ø € € € ØÐÐÐÐÐØ0Ð0Ð0Ð0Ð0Ð0Ð0Ð0Ð0Ð0àÐÐÐÐÐà2Ð2Ð2Ð2Ð2Ð2ØAÐAÐAÐAÐAÐAàð9ØÐÐÐÐÐà8Ð8Ð8Ð8Ð8Ð8à ˆÔ ˜8Ñ $Ô $€ð¨°Ô(>ððððð,QðQðQðQðQÐ-ñQôQðQðh \ð¸FðÀtððððð ?ð?ð?ð?ð?˜Ð!4ñ?ô?ð?ð?ð?r(