+
    7*i  c                  st    R t ^ RIHt ^ RIt^ RIHt RtRt	 Rt
R R ltR R	 ltR
 R ltR R ltR R ltR# )z@The `version` module holds the version information for Pydantic.)annotationsN)__version__z2.12.5z2.41.5c                   V ^8  d   QhRR/#    returnstr format   "5/usr/lib/python3.14/site-packages/pydantic/version.py__annotate__r      s     , ,s ,    c                 sX    RP                  \        P                  R4      R,          4      # )zeReturn the `major.minor` part of Pydantic version.

It returns '2.1' if Pydantic version is '2.1.1'.
.:Nr   N)joinVERSIONsplitr   r   r   version_shortr      s!    
 88GMM#&r*++r   c               r   r   r   r   r
   r   r   r   !   s     )f )fc )fr   c                 s   ^ RI p ^ RIp^ RIHp ^ RIHp ^RIHp 0 Rmp. pV P                  P                  4        F>  pVP                  R,          pW9   g   K  VP                  V RVP                   24       K@  	  V! \        4      P                  ^,          P                  4       p	VP                  V	4      '       d(   VP!                  4       '       d   VP#                  V	4      MRp
R\$        R\&        R	\)        VR
R4      ;'       g    VP*                  R\,        P                  RVP                  4       RRP/                  V4      RV
/pRP/                  R VP1                  4        4       4      # )zFReturn complete version information for Pydantic and its dependencies.N)Path)_gitZNameZ-Zunknownzpydantic versionzpydantic-core versionzpydantic-core buildZ
build_infozpython versionplatformzrelated packages Zcommit
c              3  s   "   T F9  w  rR P                  VR,           \        V4      P                  RR4      4      x  K;  	  R# 5i)z	{:>30} {}Z:r   r   N)r	   r   Zreplace)Z.0ZkZvs   &  r   Z	<genexpr>Zversion_info.<locals>.<genexpr>J   s9     eXdPTPQ[''CQc1JKKXds   AA>   ZmypyZfastapiZpyrightZtyping_extensionszemail-validatorzpydantic-settingszpydantic-extra-types)importlib.metadatar   Zpathlibr   Zpydantic_core._pydantic_coreZ_pydantic_coreZ	_internalr   ZmetadataZdistributionsZappendversionZ__file__ZparentsZresolveZis_git_repoZhave_gitZgit_revisionr   __pydantic_core_version__getattrZbuild_profilesysr   Zitems)Z	importlibr   r   ZpdcZgitZpackage_namesZrelated_packagesdistZnameZpydantic_dirZmost_recent_commitZinfos               r   version_infor   !   s4   .&M ""002}}V$ ##tfAdll^$<= 3
 >))!,446L*-//,*G*GCLLNN&`i 
 	G!:wsL$?TT3CTCT#++H%%'CHH%56$D 99eX\XbXbXdeeer   c               r   )r   r   Zboolr   r   r
   r   r   r   M   s     J JT Jr   c                 s    \         \        8H  # )zBCheck that the installed `pydantic-core` dependency is compatible.)r   !_COMPATIBLE_PYDANTIC_CORE_VERSIONr   r   r   check_pydantic_core_versionr    M   s    $(IIIr   c               r   )r   r   ZNoner   r   r
   r   r   r   R   s      t r   c                 s   \        4       '       gt   R p \        P                  R
8  d9   ^ RIHp V! R4      p\        \        VP                  RR4      RR4      '       d   Rp V '       d   \        R\         R\         R	24      hR# R# )T)distributionZpydanticZdir_infoNZ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.)i   i   )
r    r   r   r   r!   r   ZoriginZSystemErrorr   r   )Zraise_errorr!   r   s      r   _ensure_pydantic_core_versionr"   R   s    &((w&7
+Dwt{{J=z5QQ#78Q7R SEEfDg hkk   )r   c               s     V ^8  d   QhRRRR/# )r   r   r   r   ztuple[int, int, int]r   r   r
   r   r   r   e   s     A A A(< Ar   c                s~    \        \        \        V P                  R4      ^ ,          P	                  R4      4      4      # )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)`.
Z+r   )ZtupleZmapZintZ	partitionr   )r   s   &r   parse_mypy_versionr#   e   s1     S'++C0399#>?@@r   )r   r   )Z__doc__Z
__future__r    Z_annotationsr   Zpydantic_corer   r   Z__all__r   r   r   r   r    r"   r#   r   r   r   <module>r$      sE    F 2 
 B
#
 %- !,)fXJ
&Ar   