관리-도구
편집 파일: index_command.cpython-311.pyc
� �Dg� � � � d Z ddlZddlZddlZddlmZ ddlmZmZm Z ddl mZ ddlm Z ddlmZ erddlmZ dd lmZ ej e� � Zd e d fd�Z G d � de� � Zddded dfd�Z G d� 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 � � t j dk rt � d� � d S dd l} n+# t $ r t � d� � Y d S w xY w ddlm} n+# t $ r t � d� � Y d S w xY w|� | j � � }|� t j � � � � |S )N)� � z7Disabling truststore because Python version isn't 3.10+r z1Disabling truststore since ssl support is missing)� truststorez5Disabling truststore because platform isn't supported)�sys�version_info�logger�debug�ssl�ImportError�warning�pip._vendorr r �PROTOCOL_TLS_CLIENT�load_verify_locationsr �where)r r �ctxs �/builddir/build/BUILD/imunify360-venv-2.4.0/opt/imunify360/venv/lib/python3.11/site-packages/pip/_internal/cli/index_command.py�_create_truststore_ssl_contextr s� � � ��'�!�!����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&