Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
version.cpython-313.pyc34 linesDownload Raw Back to __pycache__
1�

2��j���h�SrSSKJr SSKrSSKJr SrSr	Sr3S
SjrS
S	jrSS4jr
SSjrSSjrg)z@The `version` module holds the version information for Pydantic.�)�annotationsN)�__version__)�VERSION�version_infoz2.13.4z2.46.4c�P�SR[RS5SS5$)zeReturn the `major.minor` part of Pydantic version.5 6It returns '2.1' if Pydantic version is '2.1.1'.7�.N�)�joinr�split���VD:\code\apps\devtools\python\user_packages\Python313\site-packages\pydantic/version.py�
version_shortrs#��8�8�8�G�M�M�#�&�r��*�+�+r
c��SSKnSSKnSSKJn SSKJn SSKJn 1Skn/nURR5H9nURSnX�;dMURUSUR35 M; U"[5RSR5n	URU	5(a&UR!5(aUR#U	5OS	n9[$[&[)US10S5=(d UR*[,RUR5SR/U5U11S.nS
R/SUR1555$)zFReturn complete version information for Pydantic and its dependencies.rN)�Path�)�_git>�mypy�fastapi�pyright�typing_extensions�email-validator�pydantic-settings�pydantic-extra-types�Name�-�unknown�12build_info� )zpydantic versionzpydantic-core versionzpydantic-core buildzpython version�platformzrelated packages�commit�13c3�# �UH5upSRUS-[U5RSS55v� M7 g7f)z	{:>30} {}�:r"rN)�format�str�replace)�.0�k�vs   r�	<genexpr>�version_info.<locals>.<genexpr>Js9���e�Xd�PT�PQ�[�'�'��C���Q�����c�1J�K�K�Xd�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�sysr14�items)�	importlibr r�pdc�git�
package_names�related_packages�dist�name�pydantic_dir�most_recent_commit�infos            rrr!s!�����.�&��M����"�"�0�0�2���}�}�V�$��� ��#�#�t�f�A�d�l�l�^�$<�=�3�15��>�)�)�!�,�4�4�6�L�*-�/�/�,�*G�*G�C�L�L�N�N�����&�`i��16$�!:�&�s�L�$�?�T�3�CT�CT��+�+��%�%�'��H�H�%5�6�$��D��9�9�e�X\�Xb�Xb�Xd�e�e�er
c��[[:H$)zBCheck that the installed `pydantic-core` dependency is compatible.)r<�!_COMPATIBLE_PYDANTIC_CORE_VERSIONrr
r�check_pydantic_core_versionrMMs��$�(I�I�Ir
c��[5(doSn[RS:�a7SSKJn U"S5n[[URSS5SS5(aSnU(a[S	[S17[S35egg)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.)18rMr?rr-rQr=�origin�SystemErrorr<rL)�raise_errorrQrFs   r�_ensure_pydantic_core_versionrXRs���&�(�(������w�&�7��19�+�D��w�t�{�{�J��=�z�5�Q�Q�#����7�8Q�7R�SE�Ef�Dg�hk�k��
��)r
c�v�[[[URS5SR	S555$)a"Parse `mypy` string version to a 3-tuple of ints.20 21It parses normal version like `1.11.0` and extra info followed by a `+` sign22like `1.11.0+dev.d6d9d8cd4f27c52edac1f537e236ec48a01e54cb.dirty`.23 24Args:25    version: The mypy version string.26 27Returns:28    A triple of ints, e.g. `(1, 11, 0)`.29�+rr)�tuple�map�int�	partitionr)r5s r�parse_mypy_versionr_es1����S�'�+�+�C�0��3�9�9�#�>�?�@�@r
)�returnr&)r`�bool)r`�None)r5r&r`ztuple[int, int, int])�__doc__�30__future__r�_annotationsr?�
pydantic_corerr<�__all__rrLrrrMrXr_rr
r�<module>rhsE��F�2�31�B�32#��33���%-�!�,�)f�XJ�34�&Ar
codekingpro/portable-devtools · Team Ai