
    &e                     4    d Z ddlmZ  ede           d ZdS )zN
Utilities for version comparison

It is a bit ridiculous that we need these.
    )warnzIThe `IPython.utils.version` module has been deprecated since IPython 8.0.c                     t          dt          d           ddlm} 	  ||            ||          k    S # t          $ r Y dS w xY w)zcheck version string v >= check

    If dev/prerelease tags result in TypeError for string-number comparison,
    it is assumed that the dependency is satisfied.
    Users on dev branches are responsible for keeping their own packages up to date.
    z_`check_version` function is deprecated as of IPython 8.0and will be removed in future versions.   )
stacklevelr   )LooseVersionT)r   DeprecationWarningdistutils.versionr   	TypeError)vcheckr   s      5lib/python3.11/site-packages/IPython/utils/version.pycheck_versionr      s~     		2	    /.....|A,,u"5"555   tts   7 
AAN)__doc__warningsr   r   r        r   <module>r      sV           O      r   