� ��^i���b�dZddlmZddlZddlmZdZ ddlmZ n #e $rdZ YnwxYwd�Z d�Z e eje e��n8#e ef$r.ejd �eje e��e��YnwxYw dd lmZes e d ��� ddlZn #e $rdZYnwxYweed d ��s&ddlmZej��ddlmZe e��n #e $rYnwxYwddlmZejde��ddlmZmZmZmZddlm Z m!Z!m"Z"m#Z#ddlm$Z$m%Z%ddl&m'Z'ddl&m(Z(ddl)m*Z*m+Z+m,Z,ddl-m.Z.m/Z/m0Z0m1Z1m2Z2m3Z3m4Z4m5Z5ddl6m7Z7m8Z8ddl9m:Z:ddlm;Z;mZ>m?Z?m@Z@mAZAmBZBmCZCddlDZDddlDmEZEeDjFeG���HeE����ejdeAd���dS)a� Requests HTTP Library ~~~~~~~~~~~~~~~~~~~~~ Requests is an HTTP library, written in Python, for human beings. Basic GET usage: >>> import requests >>> r = requests.get('https://www.python.org') >>> r.status_code 200 >>> b'Python is a programming language' in r.content True ... or POST: >>> payload = dict(key1='value1', key2='value2') >>> r = requests.post('https://httpbin.org/post', data=payload) >>> print(r.text) { ... "form": { "key1": "value1", "key2": "value2" }, ... } The other HTTP methods are supported - see `requests.api`. Full documentation is at . :copyright: (c) 2017 by Kenneth Reitz. :license: Apache 2.0, see LICENSE for more details. �)�urllib3N�)�RequestsDependencyWarning)� __version__c���|�d��}|dgksJ�t|��dkr|�d��|\}}}t|��t|��t|��}}}|dksJ�|dksJ�|dksJ�|r_|jd��dd�\}}}t|��t|��t|��}}}d |||fcxkrd ksnJ�dS|rd|�d��dd�\}}}t|��t|��t|��}}}d |||fcxkrd ksnJ�dSt d ���)N�.�dev��0r���)rrr )�rr)r rr)rrrz7You need either charset_normalizer or chardet installed)�split�len�append�int� Exception)�urllib3_version�chardet_version�charset_normalizer_version�major�minor�patchs ��/builddir/build/BUILDROOT/alt-python311-pip-21.3.1-4.el8.x86_64/opt/alt/python311/lib/python3.11/site-packages/pip/_vendor/requests/__init__.py�check_compatibilityr6s���%�+�+�C�0�0�O� �u�g� %� %� %� %� �?���q� � ����s�#�#�#�*��E�5�%��e�*�*�c�%�j�j�#�e�*�*�%�5�E� �A�:�:�:�:� �B�;�;�;�;� �B�;�;�;�;�� S�3�o�3�C�8�8��!��<���u�e�!�%�j�j�#�e�*�*�c�%�j�j�e�u���U�E�5�1�=�=�=�=�I�=�=�=�=�=�=�=�=� #�S�8�>�>�s�C�C�B�Q�B�G���u�e�!�%�j�j�#�e�*�*�c�%�j�j�e�u���U�E�5�1�=�=�=�=�I�=�=�=�=�=�=�=�=��Q�R�R�R�c��� ttt|jd������}n#t$rYdSwxYw|gd�kr1d�|��}t j|t��dSdS)Nr)rr�z4Old version of cryptography ({}) may cause slowdown.) �list�maprr� ValueError�format�warnings�warnr)�cryptography_version�warnings r�_check_cryptographyr(Ts����#�C��-G�-A�-G��-L�-L�$M�$M�N�N���� ������������i�i�i�'�'�H�O�O�Pd�e�e��� �g�8�9�9�9�9�9�(�'s�03� A�AzWurllib3 ({}) or chardet ({})/charset_normalizer ({}) doesn't match a supported version!)�WINDOWSz3pip internals: don't import cryptography on Windows�HAS_SNIF)� pyopenssl)�DependencyWarning�ignore)� __title__�__description__�__url__r)� __build__� __author__�__author_email__� __license__)� __copyright__�__cake__)�utils)�packages)�Request�Response�PreparedRequest)�request�get�head�postr�put�delete�options)�session�Session)�codes) �RequestException�Timeout� URLRequired�TooManyRedirects� HTTPError�ConnectionError�FileModeWarning�ConnectTimeout� ReadTimeout)� NullHandler�defaultT)r)I�__doc__� pip._vendorrr$� exceptionsrr�pip._vendor.chardetrr� ImportErrorrr(�AssertionErrorr"r%r#�pip._internal.utils.compatr)�ssl�getattr�pip._vendor.urllib3.contribr+�inject_into_urllib3� cryptographyr&�pip._vendor.urllib3.exceptionsr,� simplefilterr.r/r0r1r2r3r4r5r6�r7r8�modelsr9r:r;�apir<r=r>r?rr@rArB�sessionsrCrD� status_codesrErFrGrHrIrJrKrLrMrN�loggingrO� getLogger�__name__� addHandler�rr�ris��!�!�F ����������1�1�1�1�1�1�!���B�B�B�B�B�B�B�������O�O�O�����S�S�S�< :� :� :�-����+�_�>X�Y�Y�Y�Y��� �#�-�-�-��H�M��#�V�G�$7��Jd�e�e�+�-�-�-�-�-�-���� �3�2�2�2�2�2� �Q��k�O�P�P�P��� � � � �� ������������ �7�3� �5� )� )�2�9�9�9�9�9�9�%� �%�'�'�'� E�D�D�D�D�D���0�1�1�1���� � � ��D� ����=�<�<�<�<�<����h� 1�2�2�2�I�I�I�I�I�I�I�I�I�I�I�I�M�M�M�M�M�M�M�M�M�M�M�M�0�0�0�0�0�0�0�0�������������6�6�6�6�6�6�6�6�6�6�F�F�F�F�F�F�F�F�F�F�F�F�F�F�F�F�F�F�F�F�&�&�&�&�&�&�&�&������������������������������������������(���&�&�{�{�}�}�5�5�5����i���>�>�>�>�>�>sS��'�'�A�2A9�8A9�=C�B�C�B �C�B � 6C�C�C