Ë
    S>{i‘  ã                  ó^   — d Z ddlmZ ddlZddlmZ dZdZ		 dZ
dd„Zdd	„Zdd
„Zdd„Zdd„Zy)z@The `version` module holds the version information for Pydantic.é    )ÚannotationsN)Ú__version__)ÚVERSIONÚversion_infoz2.12.5z2.41.5c                 óP   — dj                  t        j                  d«      dd «      S )zmReturn the `major.minor` part of Pydantic version.

    It returns '2.1' if Pydantic version is '2.1.1'.
    ú.Né   )Újoinr   Úsplit© ó    úN/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/pydantic/version.pyÚversion_shortr      s#   € ð
 �8‰8”G—M‘M #Ó& r¨Ð*Ó+Ð+r   c                 ó–  — ddl } ddl}ddlm} ddlm} ddlm} h d£}g }| j                  j                  «       D ]6  }|j                  d   }||v sŒ|j                  |› d|j                  › �«       Œ8  |t        «      j                  d   j                  «       }	|j                  |	«      r!|j!                  «       r|j#                  |	«      nd	}
t$        t&        t)        |d
d«      xs |j*                  t,        j                  |j                  «       dj/                  |«      |
dœ}dj/                  d„ |j1                  «       D «       «      S )zFReturn complete version information for Pydantic and its dependencies.r   N)ÚPathé   )Ú_git>   úemail-validatorúpydantic-settingsúpydantic-extra-typesÚmypyÚfastapiÚpyrightÚtyping_extensionsÚNameú-ÚunknownÚ
build_infoú )zpydantic versionzpydantic-core versionzpydantic-core buildzpython versionÚplatformzrelated packagesÚcommitú
c              3  ó~   K  — | ]5  \  }}d j                  |dz   t        |«      j                  dd«      «      –— Œ7 y­w)z	{:>30} {}ú:r"   r   N)ÚformatÚstrÚreplace)Ú.0ÚkÚvs      r   ú	<genexpr>zversion_info.<locals>.<genexpr>J   s7   è ø€ ÒeÑPTÐPQÐST�[×'Ñ'¨¨C©´°Q³·±ÀÀcÓ1J×KÑeù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               r   r   r   !   s#  € ãÛÝå.å&ò€Mð Ðà×"Ñ"×0Ñ0Ó2ò >ˆØ�}‰}˜VÑ$ˆØ�=Ò Ø×#Ñ# t f¨A¨d¯l©l¨^Ð$<Õ=ð>ñ
 œ“>×)Ñ)¨!Ñ,×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                 ó   — t         t        k(  S )zBCheck that the installed `pydantic-core` dependency is compatible.)r;   Ú!_COMPATIBLE_PYDANTIC_CORE_VERSIONr   r   r   Úcheck_pydantic_core_versionrL   M   s   € ä$Ô(IÑIÐIr   c                 óà   — t        «       sdd} t        j                  dk\  r2ddlm}  |d«      }t        t        |j                  dd «      dd«      rd} | rt        d	t        › d
t        › d�«      ‚y y )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.)
rL   r>   r   r,   rP   r<   ÚoriginÚSystemErrorr;   rK   )Úraise_errorrP   rE   s      r   Ú_ensure_pydantic_core_versionrW   R   sƒ   € Ü&Ô(Øˆä×Ñ˜wÒ&Ý7á 
Ó+ˆDÜ”w˜tŸ{™{¨J¸Ó=¸zÈ5ÔQØ#�áÜØ7Ô8QÐ7Rð SEÜEfÐDgð hkðkóð ð ð )r   c                óv   — t        t        t        | j                  d«      d   j	                  d«      «      «      S )a>  Parse `mypy` string version to a 3-tuple of ints.

    It parses normal version like `1.11.0` and extra info followed by a `+` sign
    like `1.11.0+dev.d6d9d8cd4f27c52edac1f537e236ec48a01e54cb.dirty`.

    Args:
        version: The mypy version string.

    Returns:
        A triple of ints, e.g. `(1, 11, 0)`.
    ú+r   r   )ÚtupleÚmapÚintÚ	partitionr   )r4   s    r   Úparse_mypy_versionr^   e   s1   € ô ””S˜'×+Ñ+¨CÓ0°Ñ3×9Ñ9¸#Ó>Ó?Ó@Ð@r   )Úreturnr&   )r_   Úbool)r_   ÚNone)r4   r&   r_   ztuple[int, int, int])Ú__doc__Ú
__future__r   Ú_annotationsr>   Úpydantic_corer   r;   Ú__all__r   rK   r   r   rL   rW   r^   r   r   r   ú<module>rg      sE   ðÙ Få 2ã 
å Bà
#€à
€ðð %-Ð !ó,ó)fóXJó
ô&Ar   