OwlCyberSecurity - MANAGER
Edit File: version.pyc
� �Rec�����������@���s���d��Z��d�d�l�Z�d�d�l�Z�d�d�l�m�Z�d�d�l�m�Z�d�d�d�d �d �d�d�d �g�Z�e�j�e ���Z �d�e�f�d�������YZ�d�e �f�d�������YZ�d�e �f�d�������YZ�e�j�d���Z�d����Z�e�Z�d�e�f�d�������YZ�d����Z�d�e�f�d�������YZ�e�j�d���d�f�e�j�d���d�f�e�j�d���d�f�e�j�d���d�f�e�j�d���d �f�e�j�d!���d �f�e�j�d"���d#�f�e�j�d$���d%�f�e�j�d&���d'�f�e�j�d(���d)�f�f �Z�e�j�d*���d�f�e�j�d+���d�f�e�j�d,���d#�f�e�j�d"���d#�f�e�j�d-���d�f�f�Z�e�j�d.���Z�d/����Z�d0����Z�e�j�d1�e�j���Z�i�d2�d3�6d2�d4�6d5�d6�6d2�d7�6d8�d9�6d�d�6d�d#�6Z�d:����Z �d�e�f�d;�������YZ!�d �e�f�d<�������YZ"�e�j�d=�e�j���Z#�d>����Z$�d?����Z%�d �e�f�d@�������YZ&�d�e�f�dA�������YZ'�dB�e �f�dC�������YZ(�i�e(�e�e�e���dD�6e(�e �e"�dE������dF�6e(�e%�e'�e���dG�6Z)�e)�dD�e)�dH�<dI����Z*�d�S(J���s~��� Implementation of a flexible versioning scheme providing support for PEP-440, setuptools-compatible and semantic versioning. i����Ni���(���t���string_types(���t���parse_requirementt���NormalizedVersiont���NormalizedMatchert ���LegacyVersiont ���LegacyMatchert���SemanticVersiont���SemanticMatchert���UnsupportedVersionErrort ���get_schemec�����������B���s���e��Z�d��Z�RS(���s���This is an unsupported version.(���t���__name__t ���__module__t���__doc__(����(����(����s����/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/version.pyR������s���t���Versionc�����������B���s����e��Z�d�����Z�d����Z�d����Z�d����Z�d����Z�d����Z�d����Z�d����Z �d����Z �d ����Z�d ����Z�d����Z �e�d������Z�RS( ���c���������C���sZ���|�j�����|��_�}�|��j�|���|��_�}�t�|�t���s>�t���t�|���d�k�sV�t���d��S(���Ni����(���t���stript���_stringt���parset���_partst ���isinstancet���tuplet���AssertionErrort���len(���t���selft���st���parts(����(����s����/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/version.pyt���__init__���s����c���������C���s���t��d�����d��S(���Ns���please implement in a subclass(���t���NotImplementedError(���R���R���(����(����s����/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/version.pyR���%���s����c���������C���s5���t��|����t��|���k�r1�t�d�|��|�f�����n��d��S(���Ns���cannot compare %r and %r(���t���typet ���TypeError(���R���t���other(����(����s����/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/version.pyt���_check_compatible(���s����c���������C���s���|��j��|���|��j�|�j�k�S(���N(���R���R���(���R���R���(����(����s����/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/version.pyt���__eq__,���s���� c���������C���s���|��j��|���S(���N(���R���(���R���R���(����(����s����/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/version.pyt���__ne__0���s����c���������C���s���|��j��|���|��j�|�j�k��S(���N(���R���R���(���R���R���(����(����s����/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/version.pyt���__lt__3���s���� c���������C���s���|��j��|���p�|��j�|���S(���N(���R!���R���(���R���R���(����(����s����/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/version.pyt���__gt__7���s����c���������C���s���|��j��|���p�|��j�|���S(���N(���R!���R���(���R���R���(����(����s����/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/version.pyt���__le__:���s����c���������C���s���|��j��|���p�|��j�|���S(���N(���R"���R���(���R���R���(����(����s����/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/version.pyt���__ge__=���s����c���������C���s ���t��|��j���S(���N(���t���hashR���(���R���(����(����s����/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/version.pyt���__hash__A���s����c���������C���s���d�|��j��j�|��j�f�S(���Ns���%s('%s')(���t ���__class__R ���R���(���R���(����(����s����/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/version.pyt���__repr__D���s����c���������C���s���|��j��S(���N(���R���(���R���(����(����s����/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/version.pyt���__str__G���s����c���������C���s���t��d�����d��S(���Ns���Please implement in subclasses.(���R���(���R���(����(����s����/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/version.pyt ���is_prereleaseJ���s����(���R ���R���R���R���R���R���R ���R!���R"���R#���R$���R&���R(���R)���t���propertyR*���(����(����(����s����/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/version.pyR ������s��� t���Matcherc�����������B���s����e��Z�d�Z�i�d�����d�6d����d�6d����d�6d����d�6d����d �6d ����d�6d����d �6d����d�6Z�d����Z�d����Z�d����Z�e�d������Z �d����Z �d����Z�d����Z�d����Z �d����Z�d����Z�RS(���c���������C���s ���|��|�k��S(���N(����(���t���vt���ct���p(����(����s����/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/version.pyt���<lambda>T���t����t���<c���������C���s ���|��|�k�S(���N(����(���R-���R.���R/���(����(����s����/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/version.pyR0���U���R1���t���>c���������C���s���|��|�k�p�|��|�k��S(���N(����(���R-���R.���R/���(����(����s����/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/version.pyR0���V���R1���s���<=c���������C���s���|��|�k�p�|��|�k�S(���N(����(���R-���R.���R/���(����(����s����/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/version.pyR0���W���R1���s���>=c���������C���s ���|��|�k�S(���N(����(���R-���R.���R/���(����(����s����/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/version.pyR0���X���R1���s���==c���������C���s ���|��|�k�S(���N(����(���R-���R.���R/���(����(����s����/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/version.pyR0���Y���R1���s���===c���������C���s���|��|�k�p�|��|�k�S(���N(����(���R-���R.���R/���(����(����s����/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/version.pyR0���[���R1���s���~=c���������C���s ���|��|�k�S(���N(����(���R-���R.���R/���(����(����s����/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/version.pyR0���\���R1���s���!=c���������C���s ���t��|���S(���N(���R���(���R���R���(����(����s����/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/version.pyR���a���s����c���������C���s1��|��j��d��k�r�t�d�����n��|�j����|��_�}�|��j�|���}�|�sY�t�d�|�����n��|�j�|��_�|��j�j����|��_�g��}�|�j �rx��|�j �D]��\�}�}�|�j �d���r��|�d�k�r��t�d�|�����n��|�d� t�}�}�|��j��|���n�|��j��|���t�}�}�|�j �|�|�|�f���q��Wn��t�|���|��_�d��S( ���Ns���Please specify a version classs ���Not valid: %rs���.*s���==s���!=s#���'.*' not allowed for %r constraintsi����(���s���==s���!=(���t ���version_classt���Nonet ���ValueErrorR���R���R���t���namet���lowert���keyt���constraintst���endswitht���Truet���Falset���appendR���R���(���R���R���t���rt���clistt���opt���vnt���prefix(����(����s����/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/version.pyR���d���s(���� c���������C���s����t��|�t���r!�|��j�|���}�n��x��|��j�D]��\�}�}�}�|��j�j�|���}�t��|�t���rm�t�|��|���}�n��|�s��d�|�|��j�j�f�}�t �|�����n��|�|�|�|���s+�t �Sq+�Wt�S(���s���� Check if the provided version matches the constraints. :param version: The version to match against this instance. :type version: String or :class:`Version` instance. s���%r not implemented for %s(���R���R����R4���R���t ���_operatorst���gett���getattrR'���R ���R���R=���R<���(���R���t���versiont���operatort ���constraintRC���t���ft���msg(����(����s����/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/version.pyt���match����s����c���������C���sJ���d��}�t�|��j���d�k�rF�|��j�d�d�d�k�rF�|��j�d�d�}�n��|�S(���Ni���i����s���==s���===(���s���==s���===(���R5���R���R���(���R���t���result(����(����s����/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/version.pyt ���exact_version����s����,c���������C���sG���t��|����t��|���k�s*�|��j�|�j�k�rC�t�d�|��|�f�����n��d��S(���Ns���cannot compare %s and %s(���R���R7���R���(���R���R���(����(����s����/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/version.pyR�������s����*c���������C���s/���|��j��|���|��j�|�j�k�o.�|��j�|�j�k�S(���N(���R���R9���R���(���R���R���(����(����s����/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/version.pyR�������s���� c���������C���s���|��j��|���S(���N(���R���(���R���R���(����(����s����/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/version.pyR �������s����c���������C���s���t��|��j���t��|��j���S(���N(���R%���R9���R���(���R���(����(����s����/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/version.pyR&�������s����c���������C���s���d�|��j��j�|��j�f�S(���Ns���%s(%r)(���R'���R ���R���(���R���(����(����s����/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/version.pyR(�������s����c���������C���s���|��j��S(���N(���R���(���R���(����(����s����/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/version.pyR)�������s����N(���R ���R���R5���R4���RD���R���R���RL���R+���RN���R���R���R ���R&���R(���R)���(����(����(����s����/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/version.pyR,���O���s(��� sk���^v?(\d+!)?(\d+(\.\d+)*)((a|b|c|rc)(\d+))?(\.(post)(\d+))?(\.(dev)(\d+))?(\+([a-zA-Z\d]+(\.[a-zA-Z\d]+)?))?$c���������C���sK��|��j�����}��t�j�|����}�|�s4�t�d�|������n��|�j����}�t�d����|�d�j�d���D����}�x0�t�|���d�k�r��|�d�d�k�r��|�d� }�qf�W|�d�s��d�}�n�t�|�d���}�|�d�d�!}�|�d �d �!}�|�d�d�!}�|�d �}�|�d�k�r��d�}�n�|�d�t�|�d���f�}�|�d�k�r.d�}�n�|�d�t�|�d���f�}�|�d�k�r]d�}�n�|�d�t�|�d���f�}�|�d��k�r�d�}�nf�g��} �xQ�|�j�d���D]@�} �| �j ����r�d�t�| ���f�} �n�d�| �f�} �| �j�| ���q�Wt�| ���}�|�s|�r|�rd�}�qd�}�n��|�s&d�}�n��|�s5d�}�n��|�|�|�|�|�|�f�S(���Ns���Not a valid version: %sc���������s���s���|��]�}�t��|���Vq�d��S(���N(���t���int(���t���.0R-���(����(����s����/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/version.pys ���<genexpr>����s����i���t���.i����i����i���i���i���i ���i ���i���i ���t���at���zt���_t���final(���NN(����(���NN(����(���NN(����(����(���RR���i����(���RS���(���RT���(���RU���(���R���t���PEP440_VERSION_RERL���R���t���groupsR���t���splitR���RO���R5���t���isdigitR>���(���R���t���mRW���t���numst���epocht���pret���postt���devt���localR���t���part(����(����s����/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/version.pyt���_pep_440_key����sT����#% c�����������B���sA���e��Z�d��Z�d����Z�e�d�d�d�d�d�g���Z�e�d������Z�RS(���sI��A rational version. Good: 1.2 # equivalent to "1.2.0" 1.2.0 1.2a1 1.2.3a2 1.2.3b1 1.2.3c1 1.2.3.4 TODO: fill this out Bad: 1 # minimum two numbers 1.2a # release level must have a release serial 1.2.3b c���������C���sQ���t��|���}�t�j�|���}�|�j����}�t�d����|�d�j�d���D����|��_�|�S(���Nc���������s���s���|��]�}�t��|���Vq�d��S(���N(���RO���(���RP���R-���(����(����s����/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/version.pys ���<genexpr>��s����i���RQ���(���t���_normalized_keyRV���RL���RW���R���RX���t���_release_clause(���R���R���RM���RZ���RW���(����(����s����/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/version.pyR��� ��s ����&RR���t���bR.���t���rcR_���c������������s���t�����f�d�������j�D����S(���Nc���������3���s(���|��]�}�|�r�|�d�����j��k�Vq�d�S(���i����N(���t���PREREL_TAGS(���RP���t���t(���R���(����s����/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/version.pys ���<genexpr>��s����(���t���anyR���(���R���(����(���R���s����/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/version.pyR*�����s����(���R ���R���R���R���t���setRg���R+���R*���(����(����(����s����/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/version.pyR�������s��� c���������C���sU���t��|����}��t��|���}�|��|�k�r(�t�S|��j�|���s;�t�St�|���}�|��|�d�k�S(���NRQ���(���t���strR<���t ���startswithR=���R���(���t���xt���yt���n(����(����s����/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/version.pyt ���_match_prefix��s����c�����������B���s����e��Z�e�Z�i�d��d�6d�d�6d�d�6d�d�6d�d �6d �d�6d�d �6d�d�6Z�d����Z�d����Z�d����Z�d����Z�d����Z �d����Z �d����Z�d����Z�d����Z �RS(���t���_match_compatibles���~=t ���_match_ltR2���t ���_match_gtR3���t ���_match_les���<=t ���_match_ges���>=t ���_match_eqs���==t���_match_arbitrarys���===t ���_match_nes���!=c���������C���sx���|�r"�d�|�k�o�|�j��d�}�n�|�j��d�o:�|�j��d�}�|�rn�|�j�j�d�d���d�}�|��j�|���}�n��|�|�f�S(���Nt���+i����i���i����(���R���R���RX���R4���(���R���RG���RI���RC���t���strip_localR���(����(����s����/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/version.pyt ���_adjust_local6��s����c���������C���sj���|��j��|�|�|���\�}�}�|�|�k�r+�t�S|�j�}�d�j�g��|�D]�}�t�|���^�qA���}�t�|�|���S(���NRQ���(���R{���R=���Rd���t���joinRk���Rp���(���R���RG���RI���RC���t���release_clauset���it���pfx(����(����s����/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/version.pyRr���D��s���� (c���������C���sj���|��j��|�|�|���\�}�}�|�|�k�r+�t�S|�j�}�d�j�g��|�D]�}�t�|���^�qA���}�t�|�|���S(���NRQ���(���R{���R=���Rd���R|���Rk���Rp���(���R���RG���RI���RC���R}���R~���R���(����(����s����/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/version.pyRs���L��s���� (c���������C���s%���|��j��|�|�|���\�}�}�|�|�k�S(���N(���R{���(���R���RG���RI���RC���(����(����s����/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/version.pyRt���T��s����c���������C���s%���|��j��|�|�|���\�}�}�|�|�k�S(���N(���R{���(���R���RG���RI���RC���(����(����s����/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/version.pyRu���X��s����c���������C���sC���|��j��|�|�|���\�}�}�|�s0�|�|�k�}�n�t�|�|���}�|�S(���N(���R{���Rp���(���R���RG���RI���RC���RM���(����(����s����/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/version.pyRv���\��s ����c���������C���s���t��|���t��|���k�S(���N(���Rk���(���R���RG���RI���RC���(����(����s����/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/version.pyRw���d��s����c���������C���sD���|��j��|�|�|���\�}�}�|�s0�|�|�k�}�n�t�|�|���}�|�S(���N(���R{���Rp���(���R���RG���RI���RC���RM���(����(����s����/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/version.pyRx���g��s ����c���������C���s����|��j��|�|�|���\�}�}�|�|�k�r+�t�S|�|�k��r;�t�S|�j�}�t�|���d�k�rc�|�d� }�n��d�j�g��|�D]�}�t�|���^�qp���}�t�|�|���S(���Ni���i����RQ���(���R{���R<���R=���Rd���R���R|���Rk���Rp���(���R���RG���RI���RC���R}���R~���R���(����(����s����/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/version.pyRq���o��s���� ((���R ���R���R���R4���RD���R{���Rr���Rs���Rt���Ru���Rv���Rw���Rx���Rq���(����(����(����s����/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/version.pyR���'��s&��� s���[.+-]$R1���s���^[.](\d)s���0.\1s���^[.-]s ���^\((.*)\)$s���\1s���^v(ersion)?\s*(\d+)s���\2s���^r(ev)?\s*(\d+)s���[.]{2,}RQ���s���\b(alfa|apha)\bt���alphas���\b(pre-alpha|prealpha)\bs ���pre.alphas ���\(beta\)$t���betas ���^[:~._+-]+s ���[,*")([\]]s���[~:+_ -]s���\.$s ���(\d+(\.\d+)*)c��� ������C���s���|��j�����j����}�x&�t�D]�\�}�}�|�j�|�|���}�q�W|�sJ�d�}�n��t�j�|���}�|�sn�d�}�|�}�n��|�j����d�j�d���}�g��|�D]�}�t�|���^�q��}�x#�t �|���d�k��r��|�j �d���q��Wt �|���d�k�r��|�|�j����}�nD�d�j�g��|�d�D]�}�t �|���^�q��|�|�j����}�|�d� }�d�j�g��|�D]�}�t �|���^�qB��}�|�j�����}�|�r�x)�t�D]�\�}�}�|�j�|�|���}�qvWn��|�s�|�}�n&�d�|�k�r�d�n�d�}�|�|�|�}�t�|���s�d�}�n��|�S( ���s���� Try to suggest a semantic form for a version for which _suggest_normalized_version couldn't come up with anything. s���0.0.0i����RQ���i���R_���t���-Ry���N(���R���R8���t ���_REPLACEMENTSt���subt���_NUMERIC_PREFIXRL���RW���RX���RO���R���R>���t���endR|���Rk���t���_SUFFIX_REPLACEMENTSt ���is_semverR5���( ���R���RM���t���patt���replRZ���RC���t���suffixR~���t���sep(����(����s����/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/version.pyt���_suggest_semantic_version���s:���� : ( c���������C���s ��y�t��|����|��SWn�t�k �r%�n�X|��j����}�xS�d2�d3�d4�d5�d6�d7�d8�d9�d:�d;�d<�d=�d>�d?�d@�f�D]�\�}�}�|�j�|�|���}�qf�Wt�j�d�d�|���}�t�j�d�d�|���}�t�j�d�d�|���}�t�j�d�d�|���}�t�j�d�d�|���}�|�j�d���r |�d �}�n��t�j�d!�d�|���}�t�j�d"�d#�|���}�t�j�d$�d%�|���}�t�j�d&�d�|���}�t�j�d'�d(�|���}�t�j�d)�d(�|���}�t�j�d*�d �|���}�t�j�d+�d,�|���}�t�j�d-�d%�|���}�t�j�d.�d/�|���}�t�j�d0�d1�|���}�y�t��|���Wn�t�k �rdA�}�n�X|�S(B���s���Suggest a normalized version close to the given version string. If you have a version string that isn't rational (i.e. NormalizedVersion doesn't like it) then you might be able to get an equivalent (or close) rational version from this function. This does a number of simple normalizations to the given string, based on observation of versions currently in use on PyPI. Given a dump of those version during PyCon 2009, 4287 of them: - 2312 (53.93%) match NormalizedVersion without change with the automatic suggestion - 3474 (81.04%) match when using this suggestion method @param s {str} An irrational version string. @returns A rational version string, or None, if couldn't determine one. s���-alphaRR���s���-betaRe���R����R����Rf���R.���s���-finalR1���s���-pres���-releases���.releases���-stableRy���RQ���RT���t��� s���.finalRU���s���pre$t���pre0s���dev$t���dev0s���([abc]|rc)[\-\.](\d+)$s���\1\2s���[\-\.](dev)[\-\.]?r?(\d+)$s���.\1\2s���[.~]?([abc])\.?s���\1R-���i���s���\b0+(\d+)(?!\d)s���(\d+[abc])$s���\g<1>0s���\.?(dev-r|dev\.r)\.?(\d+)$s���.dev\2s���-(a|b|c)(\d+)$s���[\.\-](dev|devel)$s���.dev0s���(?![\.\-])dev$s���(final|stable)$s���\.?(r|-|-r)\.?(\d+)$s���.post\2s���\.?(dev|git|bzr)\.?(\d+)$s���\.?(pre|preview|-c)(\d+)$s���c\g<2>s���p(\d+)$s���.post\1(���s���-alphaRR���(���s���-betaRe���(���R����RR���(���R����Re���(���Rf���R.���(���s���-finalR1���(���s���-preR.���(���s���-releaseR1���(���s���.releaseR1���(���s���-stableR1���(���Ry���RQ���(���RT���RQ���(���R����R1���(���s���.finalR1���(���RU���R1���N(���Rc���R���R8���t���replacet���reR����Rl���R5���(���R���t���rst���origR����(����(����s����/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/version.pyt���_suggest_normalized_version���sH���� s���([a-z]+|\d+|[\.-])R.���R]���t���previews���final-R����Rf���t���@R_���c���������C���s����d����}�g��}�x��|�|����D]��}�|�j��d���r��|�d�k��rg�x'�|�rc�|�d�d�k�rc�|�j����q@�Wn��x'�|�r��|�d�d�k�r��|�j����qj�Wn��|�j�|���q�Wt�|���S(���Nc���������S���s����g��}�x��t��j�|��j������D]j�}�t�j�|�|���}�|�r�d�|�d� k�oU�d�k�n�rl�|�j�d���}�n �d�|�}�|�j�|���q�q�W|�j�d���|�S(���Nt���0i���t���9i���t���*s���*final(���t ���_VERSION_PARTRX���R8���t���_VERSION_REPLACERE���t���zfillR>���(���R���RM���R/���(����(����s����/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/version.pyt ���get_partsC��s���� R����s���*finali����s���*final-t���00000000(���Rl���t���popR>���R���(���R���R����RM���R/���(����(����s����/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/version.pyt���_legacy_keyB��s���� c�����������B���s ���e��Z�d�����Z�e�d������Z�RS(���c���������C���s ���t��|���S(���N(���R����(���R���R���(����(����s����/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/version.pyR���]��s����c���������C���sR���t��}�xE�|��j�D]:�}�t�|�t���r�|�j�d���r�|�d�k��r�t�}�Pq�q�W|�S(���NR����s���*final(���R=���R���R���R����Rl���R<���(���R���RM���Rm���(����(����s����/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/version.pyR*���`��s����(���R ���R���R���R+���R*���(����(����(����s����/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/version.pyR���\��s��� c�����������B���s?���e��Z�e�Z�e�e�j���Z�d��e�d�<e�j�d���Z �d����Z �RS(���Rq���s���~=s���^(\d+(\.\d+)*)c���������C���s����|�|�k��r�t��S|��j�j�t�|�����}�|�sE�t�j�d�|�|���t�S|�j����d�}�d�|�k�rz�|�j�d�d���d�}�n��t �|�|���S(���NsA���Cannot compute compatible match for version %s and constraint %si����RQ���i���( ���R=���t ���numeric_reRL���Rk���t���loggert���warningR<���RW���t���rsplitRp���(���R���RG���RI���RC���RZ���R���(����(����s����/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/version.pyRq���s��s���� (���R ���R���R���R4���t���dictR,���RD���R����t���compileR����Rq���(����(����(����s����/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/version.pyR���k��s ��� sN���^(\d+)\.(\d+)\.(\d+)(-[a-z0-9]+(\.[a-z0-9-]+)*)?(\+[a-z0-9]+(\.[a-z0-9-]+)*)?$c���������C���s ���t��j�|����S(���N(���t ���_SEMVER_RERL���(���R���(����(����s����/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/version.pyR�������s����c��� ������C���s����d����}�t��|����}�|�s*�t�|������n��|�j����}�g��|�d� D]�}�t�|���^�qA�\�}�}�}�|�|�d�d���|�|�d�d���}�} �|�|�|�f�|�| �f�S(���Nc���������S���si���|��d��k�r�|�f�}�nM�|��d�j�d���}�t�g��|�D]'�}�|�j����rV�|�j�d���n�|�^�q5���}�|�S(���Ni���RQ���i���(���R5���RX���R���RY���R����(���R���t���absentRM���R���R/���(����(����s����/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/version.pyt ���make_tuple���s ����:i���t���|i���R����(���R����R���RW���RO���( ���R���R����RZ���RW���R~���t���majort���minort���patchR]���t���build(����(����s����/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/version.pyt ���_semantic_key���s���� ,'c�����������B���s ���e��Z�d�����Z�e�d������Z�RS(���c���������C���s ���t��|���S(���N(���R����(���R���R���(����(����s����/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/version.pyR������s����c���������C���s���|��j��d�d�d�k�S(���Ni���i����R����(���R���(���R���(����(����s����/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/version.pyR*������s����(���R ���R���R���R+���R*���(����(����(����s����/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/version.pyR������s��� c�����������B���s���e��Z�e�Z�RS(����(���R ���R���R���R4���(����(����(����s����/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/version.pyR������s���t ���VersionSchemec�����������B���s8���e��Z�d�d����Z�d����Z�d����Z�d����Z�d����Z�RS(���c���������C���s���|�|��_��|�|��_�|�|��_�d��S(���N(���R9���t���matchert ���suggester(���R���R9���R����R����(����(����s����/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/version.pyR������s���� c���������C���s8���y�|��j��j�|���t�}�Wn�t�k �r3�t�}�n�X|�S(���N(���R����R4���R<���R���R=���(���R���R���RM���(����(����s����/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/version.pyt���is_valid_version���s���� c���������C���s5���y�|��j��|���t�}�Wn�t�k �r0�t�}�n�X|�S(���N(���R����R<���R���R=���(���R���R���RM���(����(����s����/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/version.pyt���is_valid_matcher���s���� c���������C���s���|��j��d�|���S(���s:��� Used for processing some metadata fields s���dummy_name (%s)(���R����(���R���R���(����(����s����/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/version.pyt���is_valid_constraint_list���s����c���������C���s+���|��j��d��k�r�d��}�n�|��j��|���}�|�S(���N(���R����R5���(���R���R���RM���(����(����s����/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/version.pyt���suggest���s���� N(���R ���R���R5���R���R����R����R����R����(����(����(����s����/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/version.pyR�������s ��� t ���normalizedc���������C���s���|�S(���N(����(���R���R���(����(����s����/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/version.pyR0������R1���t���legacyt���semantict���defaultc���������C���s'���|��t��k�r�t�d�|������n��t��|��S(���Ns���unknown scheme name: %r(���t���_SCHEMESR6���(���R7���(����(����s����/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/version.pyR ������s����(+���R���t���loggingR����t���compatR����t���utilR���t���__all__t ���getLoggerR ���R����R6���R���t���objectR ���R,���R����RV���Rb���Rc���R���Rp���R���R����R����R����R����R����t���IR����R5���R����R����R���R���R����R����R����R���R���R����R����R ���(����(����(����s����/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/distlib/version.pyt���<module> ���s����1d =$ W . r #