o
    Zh                     @   s&   d Z ddlmZ ede d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                 C   sB   t dtdd ddlm} z	|| ||kW S  ty    Y dS 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   DeprecationWarningZdistutils.versionr   	TypeError)vcheckr    r
   L/var/www/html/lang_env/lib/python3.10/site-packages/IPython/utils/version.pycheck_version   s   r   N)__doc__warningsr   r   r   r
   r
   r
   r   <module>   s   