
    f                         d Z ddlmZ ddZy)zN
Utilities for version comparison

It is a bit ridiculous that we need these.
    )VersionNc                     	 |t        |       t        |      k  nd}t        |       t        |      k\  xr |S # t        $ r Y yw xY w)a  check version string v >= min_v and v < max_v

    Parameters
    ----------
    v : str
        version of the package
    min_v : str
        minimal version supported
    max_v : str
        earliest version not supported
    Note: If dev/prerelease tags result in TypeError for string-number
    comparison, it is assumed that the check passes and the version dependency
    is satisfied. Users on dev branches are responsible for keeping their own
    packages up to date.
    T)r   	TypeError)vmin_vmax_v	below_maxs       R/var/www/cvtools/html/venv/lib/python3.12/site-packages/nbconvert/utils/version.pycheck_versionr      sJ    "383DGAJ/$	qzWU^+9	9 s   58 	AA)N)__doc__packaging.versionr   r        r
   <module>r      s    &r   