+
    ~j                         R t ^ RIt^ RIt^ RIt^ RIt^ RIHt R]P                  R]P                  R]P                  R]P                  R]P                  R]P                  /tR	 tRR
 R lltR tR# )z-
Utilities for working with package versions
N)version<z<===z!=z>=>c                     Ve   Vf   \        RV RV RV RV R2	4      h\        V ,          ! \        P                  ! V4      \        P                  ! V4      4      '       g   \	        V RV RV RV 24      hR # )NzUnable to compare versions for z: need=z found=z). This is unusual. Consider reinstalling .z@ is required for a normal functioning of this module, but found r   )
ValueErroropsr   parseImportError)opgot_verwant_verrequirementpkghints   &&&&&&p/Users/mitch_tango/dev/rabbit-r1-livekit/agent/.venv/lib/python3.14/site-packages/transformers/utils/versions.py_compare_versionsr   $   s    (*-k]'(7SZR[ \ E$
 	
 r77==)7==+BCCm[\_[``bcjbkklmqlrs
 	
 D    c                B    V ^8  d   QhR\         R\         R,          RR/# )   r   r   Nreturn)str)formats   "r   __annotate__r   0   s*     >M >M >MC$J >M$ >Mr   c           	        Ve   RV 2MRp\         P                  ! RV 4      '       d   T RRrCpM\         P                  ! RV 4      pV'       g   \        RV  24      hV^ ,          w  r&VP	                  R4      p/ pV Fx  p	\         P                  ! RV	4      pV'       g   \        RV  24      hV^ ,          w  r4WHV&   V\
        9  g   KL  \        V  R	\        \
        P                  4       4       R
V 24      h	  VR8X  dh   RP                  \        P                  R,           U
u. uF  p
\        V
4      NK  	  up
4      pXP                  4        F  w  r4\        W;W@W!4       K  	  R#  \        P                  P!                  V4      pXe)   XP                  4        F  w  r4\        Y;Y@Y!4       K  	  R# R# u up
i   \        P                  P"                   d'    \        P                  P#                  RT  RT 24      hi ; i)a  
Perform a runtime check of the dependency versions, using the exact same syntax used by pip.

The installed module version comes from the *site-packages* dir via *importlib.metadata*.

Args:
    requirement (`str`): pip style definition, e.g.,  "tokenizers==0.9.4", "tqdm>=4.27", "numpy"
    hint (`str`, *optional*): what suggestion to print in case of requirements not being met

Example:

```python
require_version("pandas>1.1.2")
require_version("numpy>1.18.5", "this is important to have for whatever reason")
```N
 z^[\w_\-\d]+$z^([^!=<>\s]+)([\s!=<>]{1,2}.+)zgrequirement needs to be in the pip package format, .e.g., package_a==1.23, or package_b>=1.23, but got ,z^([\s!=<>]{1,2})(.+)z: need one of z
, but got pythonr   :N   NzThe 'zB' distribution was not found and is required by this application. )rematchfindallr   splitr	   listkeysjoinsysversion_infor   itemsr   	importlibmetadatar   PackageNotFoundError)r   r   r   r   r   r"   	want_full
want_rangewantedwxr   s   &&          r   require_versionr3   0   s   " *Rv;D 
xx--'t

<kJ#}&  q__S)
AJJ6:E   +}.  !8LB!2J} K=tCHHJ?O>PPZ[]Z^!_``  h((C,<,<R,@A,@qCF,@AB"LLNLBb8#L +
$$,,S1 "LLNLBb8#L +  B 22 
  55K= bcgbhi
 	

s   #F4'F9 9AG>c                    Rp\        W4      # )zCrequire_version wrapper which emits a core-specific hint on failurez_Try: `pip install transformers -U` or `pip install -e '.[dev]'` if you're working with git main)r3   )r   r   s   & r   require_version_corer5   q   s    lD;--r   )N)__doc__importlib.metadatar+   operatorr!   r(   	packagingr   ltleeqnegegtr	   r   r3   r5    r   r   <module>rA      sk      	 
  (++(++(++(++	
>MB.r   