
    .h
                    R    S r SSKJr  SSKJr  SrSr SS jr	SS jr
SS jrSS	 jrg
)z@The `version` module holds the version information for Pydantic.    )annotations)__version__)VERSIONversion_infoz2.11.7c                 P    SR                  [        R                  S5      SS 5      $ )zeReturn the `major.minor` part of Pydantic version.

It returns '2.1' if Pydantic version is '2.1.1'.
.N   )joinr   split     H/var/www/auris/envauris/lib/python3.13/site-packages/pydantic/version.pyversion_shortr      s#    
 88GMM#&r*++r   c                    SSK n SSKnSSKnSSKJn  SSKJn  SSKJn  1 Skn/ nU R                  R                  5        H9  nUR                  S   n	X;   d  M  UR                  U	 SUR                   35        M;     U" [        5      R                  S   R                  5       n
UR!                  U
5      (       a&  UR#                  5       (       a  UR%                  U
5      OS	n[&        UR(                  [+        US
S5      =(       d    UR,                  UR                  UR                  5       SR/                  U5      US.nSR/                  S UR1                  5        5       5      $ )zFReturn complete version information for Pydantic and its dependencies.r   N)Path   )_git>   mypyfastapipyrighttyping_extensionsemail-validatorpydantic-settingspydantic-extra-typesName-unknown
build_info )zpydantic versionzpydantic-core versionzpydantic-core buildzpython versionplatformzrelated packagescommit
c              3     #    U  H5  u  pS R                  US-   [        U5      R                  SS5      5      v   M7     g7f)z	{:>30} {}:r"   r   N)formatstrreplace).0kvs      r   	<genexpr>version_info.<locals>.<genexpr>?   s9     eXdPTPQ[''CQc1JKKXds   =?)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$ ##tfAdll^$<= 3
 >))!,446L*-//,*G*GCLLNN&`i 
 $!$&sL$?T3CTCT++%%'HH%56$D 99eX\XbXbXdeeer   c                     [         S:H  $ )zBCheck that the installed `pydantic-core` dependency is compatible.z2.33.2)__pydantic_core_version__r   r   r   check_pydantic_core_versionrL   B   s     %00r   c                v    [        [        [        U R                  S5      S   R	                  S5      5      5      $ )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   )r6   s    r   parse_mypy_versionrS   H   s1     S'++C0399#>?@@r   N)returnr&   )rT   bool)r6   r&   rT   ztuple[int, int, int])__doc__
__future__r   _annotationspydantic_corer   rK   __all__r   r   r   rL   rS   r   r   r   <module>r[      s2    F 2 B
#
 ,*fZ1Ar   