fL i^dZddlmZddlZddlmZdZdZ dZ d dZ d d Z dd Z dd Zdd Zy)z@The `version` module holds the version information for Pydantic.) annotationsN) __version__)VERSION version_infoz2.12.4z2.41.5cPdjtjdddS)zmReturn the `major.minor` part of Pydantic version. It returns '2.1' if Pydantic version is '2.1.1'. .N)joinrsplitV/mnt/ssd/data/python-lab/Trading/venv/lib/python3.12/site-packages/pydantic/version.py version_shortrs# 88GMM#&r* ++r cddl}ddl}ddlm}ddlm}ddlm}hd}g}|jjD]6}|jd}||vs|j|d|j8|tjdj} |j| r!|j!r|j#| nd } t$t&t)|d dxs |j*t,j|jd j/|| d } d j/d| j1DS)zFReturn complete version information for Pydantic and its dependencies.rN)Path)_git>email-validatorpydantic-settingspydantic-extra-typesmypyfastapipyrighttyping_extensionsName-unknown build_info )zpydantic versionzpydantic-core versionzpydantic-core buildzpython versionplatformzrelated packagescommit c3~K|]5\}}dj|dzt|jdd7yw)z {:>30} {}:r"rN)formatstrreplace).0kvs r zversion_info..Js7ePTPQST[''CQc1JKes;=)importlib.metadatar pathlibrpydantic_core._pydantic_core_pydantic_core _internalrmetadata distributionsappendversion__file__parentsresolve is_git_repohave_git git_revisionr__pydantic_core_version__getattr build_profilesysr items) importlibr rpdcgit package_namesrelated_packagesdistname pydantic_dirmost_recent_commitinfos rrr!s#.&M""002>}}V$ =  # #tfAdll^$< => >))!,446L*-//,*GCLLN&`i $!:&sL$?T3CTCT++%%'HH%56$ D 99eX\XbXbXde eer cttk(S)zBCheck that the installed `pydantic-core` dependency is compatible.)r;!_COMPATIBLE_PYDANTIC_CORE_VERSIONr r rcheck_pydantic_core_versionrLMs $(I IIr ctsdd}tjdk\r2ddlm}|d}t t |j ddddrd}|rtd td td yy) NT) r) distributionpydanticdir_infoeditableFz%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 +Dwt{{J=z5Q# 78Q7RSEEfDghkk   )r cvttt|jddj dS)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)`. +rr)tuplemapint partitionr )r4s rparse_mypy_versionr^es1 S'++C0399#>? @@r )returnr&)r_bool)r_None)r4r&r_ztuple[int, int, int])__doc__ __future__r _annotationsr> pydantic_corerr;__all__rrKrrrLrWr^r r rrgsEF2 B # %-!,)fXJ & Ar