Files
cms-website/.deps_siteforge_v812/pydantic/__pycache__/version.cpython-312.pyc
T

34 lines
4.7 KiB
Plaintext
Raw Normal View History

Ë
ðÅÙj‘ãó^—dZddlmZddlZddlmZdZdZ dZ
d
d„Z d
d „Z dd
„Z
dd „Zdd „Zy)z@The `version` module holds the version information for Pydantic.é)Ú annotationsN)Ú __version__)ÚVERSIONÚ version_infoz2.13.5z2.46.5cóP—djtjd«dd«S)zmReturn the `major.minor` part of Pydantic version.
It returns '2.1' if Pydantic version is '2.1.1'.
Ú.Né)ÚjoinrÚsplit©óúTC:\Users\30997\AppData\Local\Temp\pip-target-6g32zz5s\lib\python\pydantic/version.pyÚ
version_shortrs#€ð
�8‰8”G—M‘M #Ó& r¨Ð*Ó +Ð+r
có–—ddl}ddl}ddlm}ddlm}ddlm}hd£}g}|jj«D]6}|jd}||vsŒ|j|›d|j›�«Œ8|t«jdj«} |j| «r!|j!«r|j#| «nd }
t$t&t)|d
d«xs |j*t,j|j«d j/|«|
d œ} d
j/d„| j1«D««S)zFReturn complete version information for Pydantic and its dependencies.rN)ÚPathé)Ú_git>úemail-validatorúpydantic-settingsúpydantic-extra-typesÚmypyÚfastapiÚpyrightÚtyping_extensionsÚNameÚ-ÚunknownÚ
build_infoÚ )zpydantic versionzpydantic-core versionzpydantic-core buildzpython versionÚplatformzrelated packagesÚcommitÚ
c3ó~K—|]5\}}dj|dzt|«jdd««–—Œ7y­w)z {:>30} {}Ú:r"rN)ÚformatÚstrÚreplace)Ú.0ÚkÚvs rÚ <genexpr>zversion_info.<locals>.<genexpr>Js:èø€ÐeÑXdÑPTÐPQÐST�[×'Ñ'¨¨C©´°Q³·±ÀÀcÓ1J×KÑXdùs‚;=)Úimportlib.metadatar ÚpathlibrÚpydantic_core._pydantic_coreÚ_pydantic_coreÚ _internalrÚmetadataÚ
distributionsÚappendÚversionÚ__file__ÚparentsÚresolveÚ is_git_repoÚhave_gitÚ git_revisionrÚ__pydantic_core_version__ÚgetattrÚ
build_profileÚsysr
Úitems) Ú importlibr rÚpdcÚgitÚ
package_namesÚrelated_packagesÚdistÚnameÚ pydantic_dirÚmost_recent_commitÚinfos rrr!s€ãÛÝå.å&ò€MðÐà×"Ñ"×0Ñ0Ö2ˆØ�}‰}˜VÑ$ˆØ �=Ò Ø × #Ñ # t f¨A¨d¯l©l¨^Ð$<Õ =ð3ñ
œ“>×)Ñ)¨!Ñ,×4Ñ4Ó6€Là*-¯/©/¸,Ô*GÈCÏLÉLÌNˆ×јÔ&Ð`iðô
$Ü!:Ü& s¨L¸$Ó?ÒTÀ3×CTÑCTÜŸ+™+Ø×%Ñ%Ó'ØŸH™HÐ%5Ó6Ø$ñ €Dð �9‰9ÑeÐX\×XbÑXbÔXdÓeÓ eÐer
có—ttk(S)zBCheck that the installed `pydantic-core` dependency is compatible.)r;Ú!_COMPATIBLE_PYDANTIC_CORE_VERSIONr r
rÚcheck_pydantic_core_versionrLMs€ä $Ô(IÑ IÐIr
cóà—t«sdd}tjdk\r2ddlm}|d«}t t |j dd«dd«rd}|rtd t›d
t›d �«‚yy) NT)éé
r)Ú distributionÚpydanticÚdir_infoÚeditableFz%The installed pydantic-core version (zD) is incompatible with the current pydantic version, which requires zZ. If you encounter this error, make sure that you haven't upgraded pydantic-core manually.)
rLr>rr,rPr<ÚoriginÚ SystemErrorr;rK)Ú raise_errorrPrEs rÚ_ensure_pydantic_core_versionrWRsƒ€Ü &Ô (؈ ä × Ñ ˜wÒ &Ý 7á 
Ó+ˆDÜ”w˜tŸ{™{¨J¸Ó=¸zÈ5ÔQØ#� á ÜØ7Ô8QÐ7RðSEÜEfÐDgðhkðkóð
ð ð )r
cóv—ttt|jd«dj d«««S)a>Parse `mypy` string version to a 3-tuple of ints.