Ë
    ðLqj–
  ã                  óJ   — d Z ddlmZ ddlmZ dZ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.é    )Úannotations)Ú__version__)ÚVERSIONÚversion_infoz2.11.7c                 ó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© ó    ú\/var/www/html/ai-menu-system/python-ai/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}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&        |j(                  t+        |d
d«      xs |j,                  |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>?   s7   è ø€ ÒeÑPTÐPQÐST�[×'Ñ'¨¨C©´°Q³·±ÀÀcÓ1J×KÑeùs   ‚;=)Úimportlib.metadatar    ÚsysÚpathlibr   Úpydantic_core._pydantic_coreÚ_pydantic_coreÚ	_internalr   ÚmetadataÚdistributionsÚappendÚversionÚ__file__ÚparentsÚresolveÚis_git_repoÚhave_gitÚgit_revisionr   r   ÚgetattrÚbuild_profiler
   Úitems)Ú	importlibr    r-   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         dk(  S )zBCheck that the installed `pydantic-core` dependency is compatible.z2.33.2)Ú__pydantic_core_version__r   r   r   Úcheck_pydantic_core_versionrK   B   s   € ô %¨Ñ0Ð0r   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   )r5   s    r   Úparse_mypy_versionrR   H   s1   € ô ””S˜'×+Ñ+¨CÓ0°Ñ3×9Ñ9¸#Ó>Ó?Ó@Ð@r   N)Úreturnr&   )rS   Úbool)r5   r&   rS   ztuple[int, int, int])Ú__doc__Ú
__future__r   Ú_annotationsÚpydantic_corer   rJ   Ú__all__r   r   r   rK   rR   r   r   r   ú<module>rZ      s2   ðÙ Få 2å Bà
#€à
€Ø ó,ó*fóZ1ôAr   