def test_get_all_hashes_no_future_keys(self) -> None: current = V(__version__.split("-", 1)[0]) # remove git hash, "-dirty", etc all_hashes = resources.get_all_sri_hashes() for key in all_hashes: assert ( V(key) < current ), f"SRI hash dict contains vesion {key} which is newer than current version {__version__}"
master_doc = 'index' # General information about the project. project = u'Bokeh' copyright = u'2013, Continuum Analytics' # Get the standard computed Bokeh version string to use for |version| # and |release| from bokeh import __version__ # Check for version override (e.g. when re-deploying a previously released # docs, or when pushing test docs that do not have a corresponding BokehJS # available on CDN) from bokeh.settings import settings if settings.released_docs(): __version__ = __version__.split('-')[0] # The short X.Y version. version = __version__ # The full version, including alpha/beta/rc tags. release = __version__ # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. #language = None # There are two options for replacing |today|: either, you set today to some # non-false value, then it is used: #today = '' # Else, today_fmt is used as the format for a strftime call. #today_fmt = '%B %d, %Y'