Ejemplo n.º 1
0
 def test_basic(self):
     assert isinstance(buv.__version__, str)
     assert buv.__version__ == get_versions()['version']
Ejemplo n.º 2
0
copyright = u'2013, Continuum Analytics'

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# Let's try to automatically get the version
from bokeh._version import get_versions
from bokeh import settings

try:
    from bokeh.__conda_version__ import conda_version
    __version__ = conda_version.replace("'","")
    del conda_version
except ImportError:
    __version__ = get_versions()['version']
    del get_versions

# if you need to redeploy the released docs, you only need the x.x.x version
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
Ejemplo n.º 3
0
 def test_basic(self):
     assert isinstance(buv.__version__, string_types)
     assert buv.__version__ == get_versions()['version']
Ejemplo n.º 4
0
Archivo: conf.py Proyecto: gully/bokeh
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# Let's try to automatically get the version
from bokeh._version import get_versions
from bokeh import settings

try:
    from bokeh.__conda_version__ import conda_version

    __version__ = conda_version.replace("'", "")
    del conda_version
except ImportError:
    __version__ = get_versions()["version"]
    del get_versions

# if you need to redeploy the released docs, you only need the x.x.x version
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
Ejemplo n.º 5
0
    def test_basic(self) -> None:
        assert isinstance(buv.__version__, str)

        # ignore ".dirty" due to weird CI environment inconsistency
        assert buv.__version__.strip(
            ".dirty") == get_versions()['version'].strip(".dirty")