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

It is a bit ridiculous that we need these.
    )VersionNc                     	 | t          |           t          |          k     nd}t          |           t          |          k    o|S # t          $ r Y dS 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.
    NT)r   	TypeError)vmin_vmax_v	below_maxs       W/var/www/html/test/jupyter/venv/lib/python3.11/site-packages/nbconvert/utils/version.pycheck_versionr      se    "383DGAJJ//$	qzzWU^^+9	9   tts   AA 
AA)N)__doc__packaging.versionr   r        r
   <module>r      sA     & % % % % %     r   