Format: application/x-python-code
⬇ Download File (1.0 KB)
   1  o
   2  
   3  ��h��@s&dZddlmZede�dd�ZdS)zN
   4  Utilities for version comparison
   5  
   6  It is a bit ridiculous that we need these.
   7  �)�warnzIThe `IPython.utils.version` module has been deprecated since IPython 8.0.cCsBtdtdd�ddlm}z	||�||�kWSty YdSw)z�check version string v >= check
   8  
   9      If dev/prerelease tags result in TypeError for string-number comparison,
  10      it is assumed that the dependency is satisfied.
  11      Users on dev branches are responsible for keeping their own packages up to date.
  12      z_`check_version` function is deprecated as of IPython 8.0and will be removed in future versions.�)�
  13  stacklevelr)�LooseVersionT)r�DeprecationWarningZdistutils.versionr�	TypeError)�v�checkr�r
  14  �Kc:\Users\shubh\Videos\agent\nova\Lib\site-packages\IPython/utils/version.py�
  15  check_versions��rN)�__doc__�warningsrrrr
  16  r
  17  r
  18  r�<module>s
  19  �