a
    ø£BeÇ  ã                   @   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   sF   t dtdd� ddlm} z|| ƒ||ƒkW S  ty@   Y dS 0 dS )zûcheck 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   )ÚLooseVersionTN)r   ÚDeprecationWarningZdistutils.versionr   Ú	TypeError)ÚvÚcheckr   © r
   úX/home/yuhw/wc/wire-cell-python/wcpy/lib/python3.9/site-packages/IPython/utils/version.pyÚcheck_version   s    ür   N)Ú__doc__Úwarningsr   r   r   r
   r
   r
   r   Ú<module>   s   þ