§
    þèip  ã                  ó¤   — U d Z ddlmZ ddlZddlZddlmZmZ ddlm	Z	 ddl
mZ dZ G d„ d	e¦  «        Zdad
ed<   	 	 d$d%d„Zd&d„Zdddœd'd#„ZdS )(zN
A module that implements tooling to enable easy warnings about deprecations.
é    )ÚannotationsN)ÚAnyÚTextIO)Úparse)Ú__version__zDEPRECATION: c                  ó   — e Zd ZdS )ÚPipDeprecationWarningN)Ú__name__Ú
__module__Ú__qualname__© ó    úk/var/www/html/nodeJS/PythonScripts/venv3.11/lib/python3.11/site-packages/pip/_internal/utils/deprecation.pyr	   r	      s   € € € € € Ø€Dr   r	   r   Ú_original_showwarningÚmessageúWarning | strÚcategoryútype[Warning]ÚfilenameÚstrÚlinenoÚintÚfileúTextIO | NoneÚlineú
str | NoneÚreturnÚNonec                óð   — |�t           �t          | |||||¦  «         d S d S t          |t          ¦  «        r+t          j        d¦  «        }|                     | ¦  «         d S t          | |||||¦  «         d S )Nzpip._internal.deprecations)r   Ú
issubclassr	   ÚloggingÚ	getLoggerÚwarning)r   r   r   r   r   r   Úloggers          r   Ú_showwarningr%      s“   € ð ÐÝ Ð,Ý! '¨8°X¸vÀtÈTÑRÔRÐRÐRÐRð -Ð,å	�HÕ3Ñ	4Ô	4ð Oõ Ô"Ð#?Ñ@Ô@ˆØ�Š�wÑÔÐÐÐå˜g x°¸6À4ÈÑNÔNÐNÐNÐNr   c                 óŠ   — t          j        dt          d¬¦  «         t          €t           j        at
          t           _        d S d S )NÚdefaultT)Úappend)ÚwarningsÚsimplefilterr	   r   Úshowwarningr%   r   r   r   Úinstall_warning_loggerr,   .   sB   € åÔ˜)Õ%:À4ÐHÑHÔHÐHõ Ð$Ý (Ô 4ÐÝ+�ÔÐÐð %Ð$r   )Úfeature_flagÚissueÚreasonÚreplacementÚgone_inr-   r.   ú
int | Nonec                ó2  — |duo$t          t          ¦  «        t          |¦  «        k    }| t          › d�f||sdndf|df||sdndf|dfg}d                     d	„ |D ¦   «         ¦  «        }|rt	          |¦  «        ‚t          j        |t          d
¬¦  «         dS )a   Helper to deprecate existing functionality.

    reason:
        Textual reason shown to the user about why this functionality has
        been deprecated. Should be a complete sentence.
    replacement:
        Textual suggestion shown to the user about what alternative
        functionality they can use.
    gone_in:
        The version of pip does this functionality should get removed in.
        Raises an error if pip's current version is greater than or equal to
        this.
    feature_flag:
        Command-line flag of the form --use-feature={feature_flag} for testing
        upcoming functionality.
    issue:
        Issue number on the tracker that would serve as a useful place for
        users to find related discussion and provide feedback.
    Nz{}z*pip {} will enforce this behaviour change.z*Since pip {}, this is no longer supported.zA possible replacement is {}.zEYou can use the flag --use-feature={} to test the upcoming behaviour.z@Discussion can be found at https://github.com/pypa/pip/issues/{}ú c              3  óN   K  — | ] \  }}|®|®	|                      |¦  «        V — Œ!d S )N)Úformat)Ú.0ÚvalueÚ
format_strs      r   ú	<genexpr>zdeprecated.<locals>.<genexpr>t   sK   è è € ð ð áˆE�:ØÐ! eÐ&7ð 	×Ò˜%Ñ Ô à&7Ð&7Ð&7Ð&7ðð r   é   )r   Ú
stacklevel)r   Úcurrent_versionÚDEPRECATION_MSG_PREFIXÚjoinr	   r)   Úwarn)r/   r0   r1   r-   r.   Úis_goneÚmessage_partsr   s           r   Ú
deprecatedrC   9   sû   € ð: ˜TÐ!ÐN¥e­OÑ&<Ô&<ÅÀgÁÄÒ&N€Gð 
Õ*Ð0Ð0Ð0Ð1àð ðBÐ<Ð<àAð	
ð Ø+ð	
ð
 ð ðÐWÐWàð	
ð ØNð	
ð-€Mð8 �hŠhð ð à!.ðñ ô ñ ô €Gð ð -Ý# GÑ,Ô,Ð,å„M�'Õ$9ÀaÐHÑHÔHÐHÐHÐHr   )NN)r   r   r   r   r   r   r   r   r   r   r   r   r   r   )r   r   )r/   r   r0   r   r1   r   r-   r   r.   r2   r   r   )Ú__doc__Ú
__future__r   r!   r)   Útypingr   r   Úpip._vendor.packaging.versionr   Úpipr   r=   r>   ÚWarningr	   r   Ú__annotations__r%   r,   rC   r   r   r   ú<module>rK      s4  ððð ð ð #Ð "Ð "Ð "Ð "Ð "à €€€Ø €€€Ø Ð Ð Ð Ð Ð Ð Ð à /Ð /Ð /Ð /Ð /Ð /à .Ð .Ð .Ð .Ð .Ð .à(Ð ð	ð 	ð 	ð 	ð 	˜Gñ 	ô 	ð 	ð "Ð Ð !Ð !Ð !Ñ !ð ØðOð Oð Oð Oð Oð(,ð ,ð ,ð ,ð   $ØðEIð EIð EIð EIð EIð EIð EIð EIr   