Read the Docs build information Build id: 476277 Project: d-wave-systems-dwave-neal Version: latest Commit: f44469b18a7472557929f318f9f58c57f15020d7 Date: 2020-11-10T21:20:21.748577Z State: finished Success: False [rtd-command-info] start-time: 2020-11-10T21:20:25.704170Z, end-time: 2020-11-10T21:20:26.372113Z, duration: 0, exit-code: 0 git clone --no-single-branch --depth 50 https://github.com/dwavesystems/dwave-neal.git . Cloning into '.'... [rtd-command-info] start-time: 2020-11-10T21:20:26.938048Z, end-time: 2020-11-10T21:20:26.996006Z, duration: 0, exit-code: 0 git checkout --force origin/master Note: checking out 'origin/master'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example: git checkout -b HEAD is now at f44469b Add python 3.9 support to .appveyor [rtd-command-info] start-time: 2020-11-10T21:20:27.189549Z, end-time: 2020-11-10T21:20:27.245610Z, duration: 0, exit-code: 0 git clean -d -f -f [rtd-command-info] start-time: 2020-11-10T21:20:28.880093Z, end-time: 2020-11-10T21:20:32.934376Z, duration: 4, exit-code: 0 python3.7 -mvirtualenv Using base prefix '/home/docs/.pyenv/versions/3.7.9' New python executable in /home/docs/checkouts/readthedocs.org/user_builds/d-wave-systems-dwave-neal/envs/latest/bin/python3.7 Also creating executable in /home/docs/checkouts/readthedocs.org/user_builds/d-wave-systems-dwave-neal/envs/latest/bin/python Installing setuptools, pip, wheel... done. [rtd-command-info] start-time: 2020-11-10T21:20:33.124513Z, end-time: 2020-11-10T21:20:33.844052Z, duration: 0, exit-code: 0 python -m pip install --upgrade --no-cache-dir pip Requirement already up-to-date: pip in /home/docs/checkouts/readthedocs.org/user_builds/d-wave-systems-dwave-neal/envs/latest/lib/python3.7/site-packages (20.2.4) [rtd-command-info] start-time: 2020-11-10T21:20:34.156139Z, end-time: 2020-11-10T21:20:42.599875Z, duration: 8, exit-code: 0 python -m pip install --upgrade --no-cache-dir setuptools==41.0.1 docutils==0.14 mock==1.0.1 pillow==5.4.1 alabaster>=0.7,<0.8,!=0.7.5 commonmark==0.8.1 recommonmark==0.5.0 sphinx<2 sphinx-rtd-theme<0.5 readthedocs-sphinx-ext<2.2 Collecting setuptools==41.0.1 Downloading setuptools-41.0.1-py2.py3-none-any.whl (575 kB) Collecting docutils==0.14 Downloading docutils-0.14-py3-none-any.whl (543 kB) Collecting mock==1.0.1 Downloading mock-1.0.1.tar.gz (818 kB) Collecting pillow==5.4.1 Downloading Pillow-5.4.1-cp37-cp37m-manylinux1_x86_64.whl (2.0 MB) Collecting alabaster!=0.7.5,<0.8,>=0.7 Downloading alabaster-0.7.12-py2.py3-none-any.whl (14 kB) Collecting commonmark==0.8.1 Downloading commonmark-0.8.1-py2.py3-none-any.whl (47 kB) Collecting recommonmark==0.5.0 Downloading recommonmark-0.5.0-py2.py3-none-any.whl (9.8 kB) Collecting sphinx<2 Downloading Sphinx-1.8.5-py2.py3-none-any.whl (3.1 MB) Collecting sphinx-rtd-theme<0.5 Downloading sphinx_rtd_theme-0.4.3-py2.py3-none-any.whl (6.4 MB) Collecting readthedocs-sphinx-ext<2.2 Downloading readthedocs_sphinx_ext-2.1.1-py2.py3-none-any.whl (13 kB) Collecting future Downloading future-0.18.2.tar.gz (829 kB) Collecting Jinja2>=2.3 Downloading Jinja2-2.11.2-py2.py3-none-any.whl (125 kB) Collecting snowballstemmer>=1.1 Downloading snowballstemmer-2.0.0-py2.py3-none-any.whl (97 kB) Collecting sphinxcontrib-websupport Downloading sphinxcontrib_websupport-1.2.4-py2.py3-none-any.whl (39 kB) Collecting Pygments>=2.0 Downloading Pygments-2.7.2-py3-none-any.whl (948 kB) Collecting six>=1.5 Downloading six-1.15.0-py2.py3-none-any.whl (10 kB) Collecting imagesize Downloading imagesize-1.2.0-py2.py3-none-any.whl (4.8 kB) Collecting requests>=2.0.0 Downloading requests-2.24.0-py2.py3-none-any.whl (61 kB) Collecting babel!=2.0,>=1.3 Downloading Babel-2.8.0-py2.py3-none-any.whl (8.6 MB) Collecting packaging Downloading packaging-20.4-py2.py3-none-any.whl (37 kB) Collecting MarkupSafe>=0.23 Downloading MarkupSafe-1.1.1-cp37-cp37m-manylinux1_x86_64.whl (27 kB) Collecting sphinxcontrib-serializinghtml Downloading sphinxcontrib_serializinghtml-1.1.4-py2.py3-none-any.whl (89 kB) Collecting idna<3,>=2.5 Downloading idna-2.10-py2.py3-none-any.whl (58 kB) Collecting chardet<4,>=3.0.2 Downloading chardet-3.0.4-py2.py3-none-any.whl (133 kB) Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 Downloading urllib3-1.25.11-py2.py3-none-any.whl (127 kB) Collecting certifi>=2017.4.17 Downloading certifi-2020.11.8-py2.py3-none-any.whl (155 kB) Collecting pytz>=2015.7 Downloading pytz-2020.4-py2.py3-none-any.whl (509 kB) Collecting pyparsing>=2.0.2 Downloading pyparsing-2.4.7-py2.py3-none-any.whl (67 kB) Building wheels for collected packages: mock, future Building wheel for mock (setup.py): started Building wheel for mock (setup.py): finished with status 'done' Created wheel for mock: filename=mock-1.0.1-py3-none-any.whl size=23754 sha256=607a64fb4e3285d8b4eac7b62bdba9c82451c8909b4a8996b78ed9e8b6659303 Stored in directory: /tmp/pip-ephem-wheel-cache-innskzp9/wheels/16/03/37/f0a64ab894c9102906f192db1a4071b7592292ad661563c69b Building wheel for future (setup.py): started Building wheel for future (setup.py): finished with status 'done' Created wheel for future: filename=future-0.18.2-py3-none-any.whl size=491059 sha256=a22d28e0661d32eb2ad47c52bf306361ff87c030d9b001e01321f5c985ac8872 Stored in directory: /tmp/pip-ephem-wheel-cache-innskzp9/wheels/56/b0/fe/4410d17b32f1f0c3cf54cdfb2bc04d7b4b8f4ae377e2229ba0 Successfully built mock future Installing collected packages: setuptools, docutils, mock, pillow, alabaster, future, commonmark, MarkupSafe, Jinja2, snowballstemmer, sphinxcontrib-serializinghtml, sphinxcontrib-websupport, Pygments, six, imagesize, idna, chardet, urllib3, certifi, requests, pytz, babel, pyparsing, packaging, sphinx, recommonmark, sphinx-rtd-theme, readthedocs-sphinx-ext Attempting uninstall: setuptools Found existing installation: setuptools 50.3.2 Uninstalling setuptools-50.3.2: Successfully uninstalled setuptools-50.3.2 Successfully installed Jinja2-2.11.2 MarkupSafe-1.1.1 Pygments-2.7.2 alabaster-0.7.12 babel-2.8.0 certifi-2020.11.8 chardet-3.0.4 commonmark-0.8.1 docutils-0.14 future-0.18.2 idna-2.10 imagesize-1.2.0 mock-1.0.1 packaging-20.4 pillow-5.4.1 pyparsing-2.4.7 pytz-2020.4 readthedocs-sphinx-ext-2.1.1 recommonmark-0.5.0 requests-2.24.0 setuptools-41.0.1 six-1.15.0 snowballstemmer-2.0.0 sphinx-1.8.5 sphinx-rtd-theme-0.4.3 sphinxcontrib-serializinghtml-1.1.4 sphinxcontrib-websupport-1.2.4 urllib3-1.25.11 [rtd-command-info] start-time: 2020-11-10T21:20:42.991107Z, end-time: 2020-11-10T21:20:47.687983Z, duration: 4, exit-code: 0 python -m pip install --exists-action=w --no-cache-dir -r requirements.txt Ignoring numpy: markers 'python_version == "3.5"' don't match your environment Collecting numpy==1.19.4 Downloading numpy-1.19.4-cp37-cp37m-manylinux2010_x86_64.whl (14.5 MB) Collecting cython==0.29.21 Downloading Cython-0.29.21-cp37-cp37m-manylinux1_x86_64.whl (2.0 MB) Collecting dimod==0.9.11 Downloading dimod-0.9.11-cp37-cp37m-manylinux1_x86_64.whl (6.0 MB) Installing collected packages: numpy, cython, dimod Successfully installed cython-0.29.21 dimod-0.9.11 numpy-1.19.4 [rtd-command-info] start-time: 2020-11-10T21:20:48.112407Z, end-time: 2020-11-10T21:21:00.417423Z, duration: 12, exit-code: 0 python /home/docs/checkouts/readthedocs.org/user_builds/d-wave-systems-dwave-neal/checkouts/latest/setup.py install --force Warning: passing language='c++' to cythonize() is deprecated. Instead, put "# distutils: language=c++" in your .pyx or .pxd file(s) Compiling ./neal/simulated_annealing.pyx because it changed. [1/1] Cythonizing ./neal/simulated_annealing.pyx running install running bdist_egg running egg_info creating dwave_neal.egg-info writing dwave_neal.egg-info/PKG-INFO writing dependency_links to dwave_neal.egg-info/dependency_links.txt writing requirements to dwave_neal.egg-info/requires.txt writing top-level names to dwave_neal.egg-info/top_level.txt writing manifest file 'dwave_neal.egg-info/SOURCES.txt' reading manifest file 'dwave_neal.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'dwave_neal.egg-info/SOURCES.txt' installing library code to build/bdist.linux-x86_64/egg running install_lib running build_py creating build creating build/lib.linux-x86_64-3.7 creating build/lib.linux-x86_64-3.7/neal copying neal/sampler.py -> build/lib.linux-x86_64-3.7/neal copying neal/package_info.py -> build/lib.linux-x86_64-3.7/neal copying neal/__init__.py -> build/lib.linux-x86_64-3.7/neal running build_ext building 'neal.simulated_annealing' extension creating build/temp.linux-x86_64-3.7 creating build/temp.linux-x86_64-3.7/neal creating build/temp.linux-x86_64-3.7/neal/src gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I./neal/src/ -I/home/docs/.pyenv/versions/3.7.9/include/python3.7m -I/home/docs/checkouts/readthedocs.org/user_builds/d-wave-systems-dwave-neal/envs/latest/lib/python3.7/site-packages/numpy/core/include -c ./neal/simulated_annealing.cpp -o build/temp.linux-x86_64-3.7/./neal/simulated_annealing.o -std=c++11 In file included from /home/docs/checkouts/readthedocs.org/user_builds/d-wave-systems-dwave-neal/envs/latest/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1822:0, from /home/docs/checkouts/readthedocs.org/user_builds/d-wave-systems-dwave-neal/envs/latest/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /home/docs/checkouts/readthedocs.org/user_builds/d-wave-systems-dwave-neal/envs/latest/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4, from ./neal/simulated_annealing.cpp:649: /home/docs/checkouts/readthedocs.org/user_builds/d-wave-systems-dwave-neal/envs/latest/lib/python3.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] #warning "Using deprecated NumPy API, disable it with " \ ^~~~~~~ gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I./neal/src/ -I/home/docs/.pyenv/versions/3.7.9/include/python3.7m -I/home/docs/checkouts/readthedocs.org/user_builds/d-wave-systems-dwave-neal/envs/latest/lib/python3.7/site-packages/numpy/core/include -c ./neal/src/cpu_sa.cpp -o build/temp.linux-x86_64-3.7/./neal/src/cpu_sa.o -std=c++11 g++ -pthread -shared -L/home/docs/.pyenv/versions/3.7.9/lib -L/home/docs/.pyenv/versions/3.7.9/lib build/temp.linux-x86_64-3.7/./neal/simulated_annealing.o build/temp.linux-x86_64-3.7/./neal/src/cpu_sa.o -o build/lib.linux-x86_64-3.7/neal/simulated_annealing.cpython-37m-x86_64-linux-gnu.so creating build/bdist.linux-x86_64 creating build/bdist.linux-x86_64/egg creating build/bdist.linux-x86_64/egg/neal copying build/lib.linux-x86_64-3.7/neal/sampler.py -> build/bdist.linux-x86_64/egg/neal copying build/lib.linux-x86_64-3.7/neal/package_info.py -> build/bdist.linux-x86_64/egg/neal copying build/lib.linux-x86_64-3.7/neal/__init__.py -> build/bdist.linux-x86_64/egg/neal copying build/lib.linux-x86_64-3.7/neal/simulated_annealing.cpython-37m-x86_64-linux-gnu.so -> build/bdist.linux-x86_64/egg/neal byte-compiling build/bdist.linux-x86_64/egg/neal/sampler.py to sampler.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/neal/package_info.py to package_info.cpython-37.pyc byte-compiling build/bdist.linux-x86_64/egg/neal/__init__.py to __init__.cpython-37.pyc creating stub loader for neal/simulated_annealing.cpython-37m-x86_64-linux-gnu.so byte-compiling build/bdist.linux-x86_64/egg/neal/simulated_annealing.py to simulated_annealing.cpython-37.pyc creating build/bdist.linux-x86_64/egg/EGG-INFO copying dwave_neal.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO copying dwave_neal.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying dwave_neal.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying dwave_neal.egg-info/not-zip-safe -> build/bdist.linux-x86_64/egg/EGG-INFO copying dwave_neal.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying dwave_neal.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO writing build/bdist.linux-x86_64/egg/EGG-INFO/native_libs.txt creating dist creating 'dist/dwave_neal-0.5.6-py3.7-linux-x86_64.egg' and adding 'build/bdist.linux-x86_64/egg' to it removing 'build/bdist.linux-x86_64/egg' (and everything under it) Processing dwave_neal-0.5.6-py3.7-linux-x86_64.egg creating /home/docs/checkouts/readthedocs.org/user_builds/d-wave-systems-dwave-neal/envs/latest/lib/python3.7/site-packages/dwave_neal-0.5.6-py3.7-linux-x86_64.egg Extracting dwave_neal-0.5.6-py3.7-linux-x86_64.egg to /home/docs/checkouts/readthedocs.org/user_builds/d-wave-systems-dwave-neal/envs/latest/lib/python3.7/site-packages Adding dwave-neal 0.5.6 to easy-install.pth file Installed /home/docs/checkouts/readthedocs.org/user_builds/d-wave-systems-dwave-neal/envs/latest/lib/python3.7/site-packages/dwave_neal-0.5.6-py3.7-linux-x86_64.egg Processing dependencies for dwave-neal==0.5.6 Searching for numpy==1.19.4 Best match: numpy 1.19.4 Adding numpy 1.19.4 to easy-install.pth file Installing f2py script to /home/docs/checkouts/readthedocs.org/user_builds/d-wave-systems-dwave-neal/envs/latest/bin Installing f2py3 script to /home/docs/checkouts/readthedocs.org/user_builds/d-wave-systems-dwave-neal/envs/latest/bin Installing f2py3.7 script to /home/docs/checkouts/readthedocs.org/user_builds/d-wave-systems-dwave-neal/envs/latest/bin Using /home/docs/checkouts/readthedocs.org/user_builds/d-wave-systems-dwave-neal/envs/latest/lib/python3.7/site-packages Searching for dimod==0.9.11 Best match: dimod 0.9.11 Adding dimod 0.9.11 to easy-install.pth file Using /home/docs/checkouts/readthedocs.org/user_builds/d-wave-systems-dwave-neal/envs/latest/lib/python3.7/site-packages Finished processing dependencies for dwave-neal==0.5.6 /home/docs/checkouts/readthedocs.org/user_builds/d-wave-systems-dwave-neal/envs/latest/lib/python3.7/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /home/docs/checkouts/readthedocs.org/user_builds/d-wave-systems-dwave-neal/checkouts/latest/neal/simulated_annealing.pyx tree = Parsing.p_module(s, pxd, full_module_name) [rtd-command-info] start-time: 2020-11-10T21:21:02.951771Z, end-time: 2020-11-10T21:21:03.020341Z, duration: 0, exit-code: 0 cat docs/conf.py # -*- coding: utf-8 -*- # # dwave_neal documentation build configuration file, created by # sphinx-quickstart on Wed Jul 26 10:55:26 2017. # # This file is execfile()d with the current directory set to its # containing dir. # # Note that not all possible configuration values are present in this # autogenerated file. # # All configuration values have a default; values that are commented out # serve to show the default. # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the # documentation root, use os.path.abspath to make it absolute, like shown here. # import os import sys sys.path.insert(0, os.path.abspath('.')) sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) # -- General configuration ------------------------------------------------ # import sphinx # if sphinx.__version__ # can check here # Add any Sphinx extension module names here, as strings. They can be # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # ones. extensions = [ 'sphinx.ext.autosummary', 'sphinx.ext.autodoc', 'sphinx.ext.coverage', 'sphinx.ext.doctest', 'sphinx.ext.intersphinx', 'sphinx.ext.mathjax', 'sphinx.ext.napoleon', 'sphinx.ext.todo', 'sphinx.ext.viewcode', 'sphinx.ext.ifconfig', ] autosummary_generate = True # templates_path = ['_templates'] # The suffix(es) of source filenames. # You can specify multiple suffix as a list of string: # source_suffix = ['.rst', '.md'] source_parsers = {'.md': 'recommonmark.parser.CommonMarkParser'} # The master toctree document. master_doc = 'index' # General information about the project. project = u'dwave-neal' copyright = u'2017, D-Wave Systems Inc' author = u'D-Wave Systems Inc' # 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. # from neal.package_info import __version__ release = version = __version__ # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. # # This is also used if you do content translation via gettext catalogs. # Usually you set "language" from the command line for these cases. language = None add_module_names = False # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files. # This patterns also effect to html_static_path and html_extra_path exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store', 'sdk_index.rst'] # The name of the Pygments (syntax highlighting) style to use. pygments_style = 'sphinx' # If true, `todo` and `todoList` produce output, else they produce nothing. todo_include_todos = True modindex_common_prefix = ['neal.'] # -- Options for HTML output ---------------------------------------------- # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. # import sphinx_rtd_theme html_theme = 'sphinx_rtd_theme' html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the # documentation. # # html_theme_options = {} # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, # so a file named "default.css" will overwrite the builtin "default.css". html_static_path = ['_static'] def setup(app): app.add_stylesheet('cookie_notice.css') app.add_javascript('cookie_notice.js') app.add_config_value('target', 'repo', 'env') # -- Options for HTMLHelp output ------------------------------------------ # Output file base name for HTML help builder. htmlhelp_basename = 'dwave_neal_doc' # -- Options for LaTeX output --------------------------------------------- latex_elements = { # The paper size ('letterpaper' or 'a4paper'). # # 'papersize': 'letterpaper', # The font size ('10pt', '11pt' or '12pt'). # # 'pointsize': '10pt', # Additional stuff for the LaTeX preamble. # # 'preamble': '', # Latex figure (float) alignment # # 'figure_align': 'htbp', } # Grouping the document tree into LaTeX files. List of tuples # (source start file, target name, title, # author, documentclass [howto, manual, or own class]). latex_documents = [ (master_doc, 'dwave-neal.tex', u'dwave-neal Documentation', u'D-Wave Systems Inc', 'manual'), ] # -- Options for manual page output --------------------------------------- # One entry per manual page. List of tuples # (source start file, name, description, authors, manual section). man_pages = [ (master_doc, 'dwave-neal', u'dwave-neal Documentation', [author], 1) ] # -- Options for Texinfo output ------------------------------------------- # Grouping the document tree into Texinfo files. List of tuples # (source start file, target name, title, author, # dir menu entry, description, category) texinfo_documents = [ (master_doc, 'dwave-neal', u'dwave-neal Documentation', author, 'dwave-neal', 'One line description of project.', 'Miscellaneous'), ] # -- Options for Epub output ---------------------------------------------- # Bibliographic Dublin Core info. epub_title = project epub_author = author epub_publisher = author epub_copyright = copyright # The unique identifier of the text. This can be a ISBN number # or the project homepage. # # epub_identifier = '' # A unique identification for the text. # # epub_uid = '' # A list of files that should not be packed into the epub file. epub_exclude_files = ['search.html'] # Configuration for intersphinx: refer to the Python standard library. intersphinx_mapping = {'python': ('https://docs.python.org/3', None), 'qbsolv': ('https://docs.ocean.dwavesys.com/projects/qbsolv/en/latest/', None), 'oceandocs': ('https://docs.ocean.dwavesys.com/en/latest/', None), 'sysdocs_gettingstarted': ('https://docs.dwavesys.com/docs/latest/', None)} ########################################################################### # auto-created readthedocs.org specific configuration # ########################################################################### # # The following code was added during an automated build on readthedocs.org # It is auto created and injected for every build. The result is based on the # conf.py.tmpl file found in the readthedocs.org codebase: # https://github.com/rtfd/readthedocs.org/blob/master/readthedocs/doc_builder/templates/doc_builder/conf.py.tmpl # import importlib import sys import os.path from six import string_types from sphinx import version_info # Get suffix for proper linking to GitHub # This is deprecated in Sphinx 1.3+, # as each page can have its own suffix if globals().get('source_suffix', False): if isinstance(source_suffix, string_types): SUFFIX = source_suffix elif isinstance(source_suffix, (list, tuple)): # Sphinx >= 1.3 supports list/tuple to define multiple suffixes SUFFIX = source_suffix[0] elif isinstance(source_suffix, dict): # Sphinx >= 1.8 supports a mapping dictionary for multiple suffixes SUFFIX = list(source_suffix.keys())[0] # make a ``list()`` for py2/py3 compatibility else: # default to .rst SUFFIX = '.rst' else: SUFFIX = '.rst' # Add RTD Static Path. Add to the end because it overwrites previous files. if not 'html_static_path' in globals(): html_static_path = [] if os.path.exists('_static'): html_static_path.append('_static') # Add RTD Theme only if they aren't overriding it already using_rtd_theme = ( ( 'html_theme' in globals() and html_theme in ['default'] and # Allow people to bail with a hack of having an html_style 'html_style' not in globals() ) or 'html_theme' not in globals() ) if using_rtd_theme: theme = importlib.import_module('sphinx_rtd_theme') html_theme = 'sphinx_rtd_theme' html_style = None html_theme_options = {} if 'html_theme_path' in globals(): html_theme_path.append(theme.get_html_theme_path()) else: html_theme_path = [theme.get_html_theme_path()] if globals().get('websupport2_base_url', False): websupport2_base_url = 'https://readthedocs.com/websupport' websupport2_static_url = 'https://assets.readthedocs.com/' #Add project information to the template context. context = { 'using_theme': using_rtd_theme, 'html_theme': html_theme, 'current_version': "latest", 'version_slug': "latest", 'MEDIA_URL': "https://media.readthedocs.com/media/", 'STATIC_URL': "https://assets.readthedocs.com/", 'PRODUCTION_DOMAIN': "readthedocs.com", 'versions': [ ("latest", "/en/latest/"), ("stable", "/en/stable/"), ], 'downloads': [ ("pdf", "//docs.ocean.dwavesys.com/_/downloads/neal/en/latest/pdf/"), ("html", "//docs.ocean.dwavesys.com/_/downloads/neal/en/latest/htmlzip/"), ("epub", "//docs.ocean.dwavesys.com/_/downloads/neal/en/latest/epub/"), ], 'subprojects': [ ], 'slug': 'd-wave-systems-dwave-neal', 'name': u'neal', 'rtd_language': u'en', 'programming_language': u'words', 'canonical_url': 'https://docs.ocean.dwavesys.com/projects/neal/en/latest/', 'analytics_code': '', 'single_version': False, 'conf_py_path': '/docs/', 'api_host': 'https://readthedocs.com', 'github_user': 'dwavesystems', 'proxied_api_host': '/_', 'github_repo': 'dwave-neal', 'github_version': 'master', 'display_github': True, 'bitbucket_user': 'None', 'bitbucket_repo': 'None', 'bitbucket_version': 'master', 'display_bitbucket': False, 'gitlab_user': 'None', 'gitlab_repo': 'None', 'gitlab_version': 'master', 'display_gitlab': False, 'READTHEDOCS': True, 'using_theme': (html_theme == "default"), 'new_theme': (html_theme == "sphinx_rtd_theme"), 'source_suffix': SUFFIX, 'ad_free': False, 'docsearch_disabled': False, 'user_analytics_code': '', 'global_analytics_code': 'UA-17997319-2', 'commit': 'f44469b1', } if 'html_context' in globals(): html_context.update(context) else: html_context = context # Add custom RTD extension if 'extensions' in globals(): # Insert at the beginning because it can interfere # with other extensions. # See https://github.com/rtfd/readthedocs.org/pull/4054 extensions.insert(0, "readthedocs_ext.readthedocs") else: extensions = ["readthedocs_ext.readthedocs"] # Add External version warning banner to the external version documentation if 'branch' == 'external': extensions.insert(1, "readthedocs_ext.external_version_warning") project_language = 'en' # User's Sphinx configurations language_user = globals().get('language', None) latex_engine_user = globals().get('latex_engine', None) latex_elements_user = globals().get('latex_elements', None) # Remove this once xindy gets installed in Docker image and XINDYOPS # env variable is supported # https://github.com/rtfd/readthedocs-docker-images/pull/98 latex_use_xindy = False chinese = any([ language_user in ('zh_CN', 'zh_TW'), project_language in ('zh_CN', 'zh_TW'), ]) japanese = any([ language_user == 'ja', project_language == 'ja', ]) if chinese: latex_engine = latex_engine_user or 'xelatex' latex_elements_rtd = { 'preamble': '\\usepackage[UTF8]{ctex}\n', } latex_elements = latex_elements_user or latex_elements_rtd elif japanese: latex_engine = latex_engine_user or 'platex' # Make sure our build directory is always excluded exclude_patterns = globals().get('exclude_patterns', []) exclude_patterns.extend(['_build']) [rtd-command-info] start-time: 2020-11-10T21:21:03.240103Z, end-time: 2020-11-10T21:21:03.722011Z, duration: 0, exit-code: 2 python sphinx-build -T -E -b readthedocs -d _build/doctrees-readthedocs -D language=en . _build/html Running Sphinx v1.8.5 Traceback (most recent call last): File "/home/docs/checkouts/readthedocs.org/user_builds/d-wave-systems-dwave-neal/envs/latest/lib/python3.7/site-packages/sphinx/config.py", line 368, in eval_config_file execfile_(filename, namespace) File "/home/docs/checkouts/readthedocs.org/user_builds/d-wave-systems-dwave-neal/envs/latest/lib/python3.7/site-packages/sphinx/util/pycompat.py", line 150, in execfile_ exec_(code, _globals) File "/home/docs/checkouts/readthedocs.org/user_builds/d-wave-systems-dwave-neal/checkouts/latest/docs/conf.py", line 66, in from neal.package_info import __version__ File "/home/docs/checkouts/readthedocs.org/user_builds/d-wave-systems-dwave-neal/checkouts/latest/neal/__init__.py", line 19, in from neal.sampler import * File "/home/docs/checkouts/readthedocs.org/user_builds/d-wave-systems-dwave-neal/checkouts/latest/neal/sampler.py", line 29, in import neal.simulated_annealing as sa ModuleNotFoundError: No module named 'neal.simulated_annealing' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/docs/checkouts/readthedocs.org/user_builds/d-wave-systems-dwave-neal/envs/latest/lib/python3.7/site-packages/sphinx/cmd/build.py", line 303, in build_main args.tags, args.verbosity, args.jobs, args.keep_going) File "/home/docs/checkouts/readthedocs.org/user_builds/d-wave-systems-dwave-neal/envs/latest/lib/python3.7/site-packages/sphinx/application.py", line 201, in __init__ self.config = Config.read(self.confdir, confoverrides or {}, self.tags) File "/home/docs/checkouts/readthedocs.org/user_builds/d-wave-systems-dwave-neal/envs/latest/lib/python3.7/site-packages/sphinx/config.py", line 203, in read namespace = eval_config_file(filename, tags) File "/home/docs/checkouts/readthedocs.org/user_builds/d-wave-systems-dwave-neal/envs/latest/lib/python3.7/site-packages/sphinx/config.py", line 380, in eval_config_file raise ConfigError(msg % traceback.format_exc()) sphinx.errors.ConfigError: There is a programmable error in your configuration file: Traceback (most recent call last): File "/home/docs/checkouts/readthedocs.org/user_builds/d-wave-systems-dwave-neal/envs/latest/lib/python3.7/site-packages/sphinx/config.py", line 368, in eval_config_file execfile_(filename, namespace) File "/home/docs/checkouts/readthedocs.org/user_builds/d-wave-systems-dwave-neal/envs/latest/lib/python3.7/site-packages/sphinx/util/pycompat.py", line 150, in execfile_ exec_(code, _globals) File "/home/docs/checkouts/readthedocs.org/user_builds/d-wave-systems-dwave-neal/checkouts/latest/docs/conf.py", line 66, in from neal.package_info import __version__ File "/home/docs/checkouts/readthedocs.org/user_builds/d-wave-systems-dwave-neal/checkouts/latest/neal/__init__.py", line 19, in from neal.sampler import * File "/home/docs/checkouts/readthedocs.org/user_builds/d-wave-systems-dwave-neal/checkouts/latest/neal/sampler.py", line 29, in import neal.simulated_annealing as sa ModuleNotFoundError: No module named 'neal.simulated_annealing' Configuration error: There is a programmable error in your configuration file: Traceback (most recent call last): File "/home/docs/checkouts/readthedocs.org/user_builds/d-wave-systems-dwave-neal/envs/latest/lib/python3.7/site-packages/sphinx/config.py", line 368, in eval_config_file execfile_(filename, namespace) File "/home/docs/checkouts/readthedocs.org/user_builds/d-wave-systems-dwave-neal/envs/latest/lib/python3.7/site-packages/sphinx/util/pycompat.py", line 150, in execfile_ exec_(code, _globals) File "/home/docs/checkouts/readthedocs.org/user_builds/d-wave-systems-dwave-neal/checkouts/latest/docs/conf.py", line 66, in from neal.package_info import __version__ File "/home/docs/checkouts/readthedocs.org/user_builds/d-wave-systems-dwave-neal/checkouts/latest/neal/__init__.py", line 19, in from neal.sampler import * File "/home/docs/checkouts/readthedocs.org/user_builds/d-wave-systems-dwave-neal/checkouts/latest/neal/sampler.py", line 29, in import neal.simulated_annealing as sa ModuleNotFoundError: No module named 'neal.simulated_annealing'