2bi+ % S r SSKrSSKrSSKJrJrJrJrJr SSK J
r
SSKJr
Sr " S S\5 rSq\\S ' SS
\\\4 S\\ S\S
\S\\ S\\ SS4S jjrSS jrSSS.S\S\\ S\\ S\\ S\\ SS4S jjrg)zN
A module that implements tooling to enable easy warnings about deprecations.
N)AnyOptionalTextIOTypeUnion)parse)__version__z
DEPRECATION: c \ rS rSrSrg)PipDeprecationWarning N)__name__
__module____qualname____firstlineno____static_attributes__r
ڑ/builddir/build/BUILDROOT/alt-python313-pip-23.3.1-3.el8.x86_64/opt/alt/python313/lib/python3.13/site-packages/pip/_internal/utils/deprecation.pyr r s r r _original_showwarningmessagecategoryfilenamelinenofilelinereturnc Ub [ b [ XX#XE5 g g [ U[ 5 ( a( [ R " S5 nUR U 5 g [ XX#XE5 g )Nzpip._internal.deprecations)r
issubclassr logging getLoggerwarning)r r r r r r loggers r _showwarningr# sZ ,!'XtR - H3 4 4 ""#?@wg4Nr c [ R " S[ SS9 [ c [ R q[
[ l g g )NdefaultT)append)warningssimplefilterr r showwarningr# r
r r install_warning_loggerr* , s6 )%:4H $ ( 4 4+ %r )feature_flagissuereasonreplacementgone_inr+ r, c , USL=( a [ [ 5 [ U5 : nU [ S34UU( d SOS4US4UU( d SOS4US4/nSR S U 5 5 nU( a [ U5 e[
R " U[ S
S9 g)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.zA 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 \ # U H" u pUc M
Uc M UR U5 v M$ g 7f)N)format).0value
format_strs r