2bi+%SrSSKrSSKrSSKJrJrJrJrJr SSK J r SSK J r Sr"SS\5rSq\\S 'SS \\\4S \\S \S \S\\S\\SS4SjjrSSjrSSS.S\S\\S\\S\\S\\SS4 Sjjrg)zN A module that implements tooling to enable easy warnings about deprecations. N)AnyOptionalTextIOTypeUnion)parse) __version__z DEPRECATION: c\rSrSrSrg)PipDeprecationWarningN)__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 srr _original_showwarningmessagecategoryfilenamelinenofilelinereturncUb[b[XX#XE5 gg[U[5(a([R"S5nUR U5 g[XX#XE5 g)Nzpip._internal.deprecations)r issubclassr logging getLoggerwarning)rrrrrrloggers r _showwarningr#sZ  , !'Xt R - H3 4 4""#?@wg4Nrc[R"S[SS9 [c [Rq[ [lgg)NdefaultT)append)warnings simplefilterr r showwarningr#r rrinstall_warning_loggerr*,s6 )%:4H$ ( 4 4+%r) feature_flagissuereason replacementgone_inr+r,c,USL=(a [[5[U5:nU[S34UU(dSOS4US4UU(dSOS4US4/nSRS U55nU(a [ U5e[ R "U[S S 9 g) aHelper 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/{} c3\# UH"upUcM UcMURU5v M$ g7f)N)format).0value format_strs r deprecated..ns5!. E  !&+ ! %  !.s ,,,)r stacklevel)rcurrent_versionDEPRECATION_MSG_PREFIXjoinr r'warn)r-r.r/r+r,is_gone message_partsrs r deprecatedrA7s:T!NeO&<g&NG *+401  9=    +  T    N %M0hh!.G#G,, MM'$9aHr)NN)rN)__doc__rr'typingrrrrrpip._vendor.packaging.versionrpipr r;r<Warningr r__annotations__strintr#r*rAr rrrJs55/.( G "s!" O 7C< O7mOO  O 6  O 3- O O(, #' AI AI#AIc] AI 3- AI C= AI AIr