
    -e                    h    d Z ddlmZ ddlZ ej        e          ZddlmZ dZ	dd	Z
dddZddZdS )a   Provide a version for the Bokeh library.

This module uses `versioneer`_ to manage version strings. During development,
`versioneer`_ will compute a version string from the current git revision.
For packaged releases based off tags, the version string is hard coded in the
files packaged for distribution.

Attributes:
    __version__:
        The full version string for this installed Bokeh library

Functions:
    base_version:
        Return the base version string, without any "dev", "rc" or local build
        information appended.

    is_full_release:
        Return whether the current installed version is a full release.

.. _versioneer: https://github.com/warner/python-versioneer

    )annotationsN   )__version__)base_versionis_full_releasereturnstrc                 *    t          t                    S N)_base_version_helperr        2lib/python3.11/site-packages/bokeh/util/version.pyr   r   :   s    ,,,r   version
str | Noneboolc                    dd l }| pt          } |                    d          }t          |                    |                     S )Nr   z^(\d+\.\d+\.\d+)$)rer   compiler   match)r   r   VERSION_PATs      r   r   r   =   sC    III$G**122K!!'**+++r   c                    dd l }|                    d          }|                    |           }|J |                    d          S )Nr   z#^(\d+\.\d+\.\d+)((?:\.dev|\.rc).*)?   )r   r   searchgroup)r   r   r   r   s       r   r   r   K   sL    III**CDDKw''E;;q>>r   )r   r	   r   )r   r   r   r   )r   r	   r   r	   )__doc__
__future__r   logging	getLogger__name__log r   __all__r   r   r   r   r   r   <module>r$      s    4 # " " " " " g!!      - - - -, , , , ,     r   