Read the Docs build information Build id: 1464369 Project: cognite-sdk-python Version: latest Commit: 80fa5d8c9daea52971559f78df415d2fe26a763e Date: 2023-05-10T11:29:40.817580Z State: finished Success: False [rtd-command-info] start-time: 2023-05-10T11:29:42.925710Z, end-time: 2023-05-10T11:29:46.599418Z, duration: 3, exit-code: 0 git clone --no-single-branch --depth 50 https://github.com/cognitedata/cognite-sdk-python.git . Cloning into '.'... [rtd-command-info] start-time: 2023-05-10T11:29:46.879300Z, end-time: 2023-05-10T11:29:46.993974Z, duration: 0, exit-code: 0 git checkout --force origin/master Note: switching to '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 switching back to a branch. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example: git switch -c Or undo this operation with: git switch - Turn off this advice by setting config variable advice.detachedHead to false HEAD is now at 80fa5d8 Bugfix: TransformationsAPI: allow separate source- and destination CDF projects (#1219) [rtd-command-info] start-time: 2023-05-10T11:29:47.188669Z, end-time: 2023-05-10T11:29:47.258849Z, duration: 0, exit-code: 0 git clean -d -f -f [rtd-command-info] start-time: 2023-05-10T11:29:48.345805Z, end-time: 2023-05-10T11:30:01.508092Z, duration: 13, exit-code: 0 python3.8 -mvirtualenv $READTHEDOCS_VIRTUALENV_PATH Using base prefix '/home/docs/.pyenv/versions/3.8.6' New python executable in /home/docs/checkouts/readthedocs.org/user_builds/cognite-sdk-python/envs/latest/bin/python3.8 Also creating executable in /home/docs/checkouts/readthedocs.org/user_builds/cognite-sdk-python/envs/latest/bin/python Installing setuptools, pip, wheel... done. [rtd-command-info] start-time: 2023-05-10T11:30:01.729582Z, end-time: 2023-05-10T11:30:03.088008Z, duration: 1, exit-code: 0 python -m pip install --upgrade --no-cache-dir pip setuptools Requirement already satisfied: pip in /home/docs/checkouts/readthedocs.org/user_builds/cognite-sdk-python/envs/latest/lib/python3.8/site-packages (23.1.2) Requirement already satisfied: setuptools in /home/docs/checkouts/readthedocs.org/user_builds/cognite-sdk-python/envs/latest/lib/python3.8/site-packages (67.7.2) [rtd-command-info] start-time: 2023-05-10T11:30:03.531217Z, end-time: 2023-05-10T11:30:10.274778Z, duration: 6, exit-code: 0 python -m pip install --upgrade --no-cache-dir pillow mock==1.0.1 alabaster>=0.7,<0.8,!=0.7.5 commonmark==0.9.1 recommonmark==0.5.0 sphinx<2 sphinx-rtd-theme<0.5 readthedocs-sphinx-ext<2.3 jinja2<3.1.0 Collecting pillow Downloading Pillow-9.5.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.3/3.3 MB 59.4 MB/s eta 0:00:00 Collecting mock==1.0.1 Downloading mock-1.0.1.zip (861 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 861.9/861.9 kB 280.6 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting alabaster!=0.7.5,<0.8,>=0.7 Downloading alabaster-0.7.13-py3-none-any.whl (13 kB) Collecting commonmark==0.9.1 Downloading commonmark-0.9.1-py2.py3-none-any.whl (51 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 51.1/51.1 kB 211.7 MB/s eta 0:00:00 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.6-py2.py3-none-any.whl (3.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.1/3.1 MB 148.7 MB/s eta 0:00:00 Collecting sphinx-rtd-theme<0.5 Downloading sphinx_rtd_theme-0.4.3-py2.py3-none-any.whl (6.4 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.4/6.4 MB 201.1 MB/s eta 0:00:00 Collecting readthedocs-sphinx-ext<2.3 Downloading readthedocs_sphinx_ext-2.2.0-py2.py3-none-any.whl (11 kB) Collecting jinja2<3.1.0 Downloading Jinja2-3.0.3-py3-none-any.whl (133 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.6/133.6 kB 246.4 MB/s eta 0:00:00 Collecting docutils>=0.11 (from recommonmark==0.5.0) Downloading docutils-0.20-py3-none-any.whl (577 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 577.9/577.9 kB 282.3 MB/s eta 0:00:00 Collecting six>=1.5 (from sphinx<2) Downloading six-1.16.0-py2.py3-none-any.whl (11 kB) Collecting Pygments>=2.0 (from sphinx<2) Downloading Pygments-2.15.1-py3-none-any.whl (1.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 283.2 MB/s eta 0:00:00 Collecting docutils>=0.11 (from recommonmark==0.5.0) Downloading docutils-0.17.1-py2.py3-none-any.whl (575 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 575.5/575.5 kB 275.7 MB/s eta 0:00:00 Collecting snowballstemmer>=1.1 (from sphinx<2) Downloading snowballstemmer-2.2.0-py2.py3-none-any.whl (93 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 93.0/93.0 kB 230.6 MB/s eta 0:00:00 Collecting babel!=2.0,>=1.3 (from sphinx<2) Downloading Babel-2.12.1-py3-none-any.whl (10.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 10.1/10.1 MB 200.9 MB/s eta 0:00:00 Collecting imagesize (from sphinx<2) Downloading imagesize-1.4.1-py2.py3-none-any.whl (8.8 kB) Collecting requests>=2.0.0 (from sphinx<2) Downloading requests-2.30.0-py3-none-any.whl (62 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.5/62.5 kB 186.1 MB/s eta 0:00:00 Requirement already satisfied: setuptools in /home/docs/checkouts/readthedocs.org/user_builds/cognite-sdk-python/envs/latest/lib/python3.8/site-packages (from sphinx<2) (67.7.2) Collecting packaging (from sphinx<2) Downloading packaging-23.1-py3-none-any.whl (48 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.9/48.9 kB 185.6 MB/s eta 0:00:00 Collecting sphinxcontrib-websupport (from sphinx<2) Downloading sphinxcontrib_websupport-1.2.4-py2.py3-none-any.whl (39 kB) Collecting MarkupSafe>=2.0 (from jinja2<3.1.0) Downloading MarkupSafe-2.1.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25 kB) Collecting pytz>=2015.7 (from babel!=2.0,>=1.3->sphinx<2) Downloading pytz-2023.3-py2.py3-none-any.whl (502 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 502.3/502.3 kB 280.6 MB/s eta 0:00:00 Collecting charset-normalizer<4,>=2 (from requests>=2.0.0->sphinx<2) Downloading charset_normalizer-3.1.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (195 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 195.9/195.9 kB 250.2 MB/s eta 0:00:00 Collecting idna<4,>=2.5 (from requests>=2.0.0->sphinx<2) Downloading idna-3.4-py3-none-any.whl (61 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.5/61.5 kB 214.8 MB/s eta 0:00:00 Collecting urllib3<3,>=1.21.1 (from requests>=2.0.0->sphinx<2) Downloading urllib3-2.0.2-py3-none-any.whl (123 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 123.2/123.2 kB 228.7 MB/s eta 0:00:00 Collecting certifi>=2017.4.17 (from requests>=2.0.0->sphinx<2) Downloading certifi-2023.5.7-py3-none-any.whl (156 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 157.0/157.0 kB 259.7 MB/s eta 0:00:00 Collecting sphinxcontrib-serializinghtml (from sphinxcontrib-websupport->sphinx<2) Downloading sphinxcontrib_serializinghtml-1.1.5-py2.py3-none-any.whl (94 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 94.0/94.0 kB 233.8 MB/s eta 0:00:00 Building wheels for collected packages: mock 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=23753 sha256=cf40aa47fd63d032c3639be47a8375eb271c596116c3af7fa6dbbdc01d582ffe Stored in directory: /tmp/pip-ephem-wheel-cache-a961hbvg/wheels/41/7c/21/90057f91c6ead7c77a90c52d6e85ca48bf82d8b0d3f8dfbb65 Successfully built mock Installing collected packages: snowballstemmer, pytz, mock, commonmark, urllib3, sphinxcontrib-serializinghtml, six, Pygments, pillow, packaging, MarkupSafe, imagesize, idna, docutils, charset-normalizer, certifi, babel, alabaster, sphinxcontrib-websupport, requests, jinja2, sphinx, readthedocs-sphinx-ext, sphinx-rtd-theme, recommonmark Successfully installed MarkupSafe-2.1.2 Pygments-2.15.1 alabaster-0.7.13 babel-2.12.1 certifi-2023.5.7 charset-normalizer-3.1.0 commonmark-0.9.1 docutils-0.17.1 idna-3.4 imagesize-1.4.1 jinja2-3.0.3 mock-1.0.1 packaging-23.1 pillow-9.5.0 pytz-2023.3 readthedocs-sphinx-ext-2.2.0 recommonmark-0.5.0 requests-2.30.0 six-1.16.0 snowballstemmer-2.2.0 sphinx-1.8.6 sphinx-rtd-theme-0.4.3 sphinxcontrib-serializinghtml-1.1.5 sphinxcontrib-websupport-1.2.4 urllib3-2.0.2 [rtd-command-info] start-time: 2023-05-10T11:30:10.481002Z, end-time: 2023-05-10T11:30:25.971048Z, duration: 15, exit-code: 0 python -m pip install --upgrade --upgrade-strategy eager --no-cache-dir /home/docs/checkouts/readthedocs.org/user_builds/cognite-sdk-python/checkouts/latest Processing /home/docs/checkouts/readthedocs.org/user_builds/cognite-sdk-python/checkouts/latest Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Collecting graphlib-backport<2.0.0,>=1.0.0 (from cognite-sdk==6.1.5) Downloading graphlib_backport-1.0.3-py3-none-any.whl (5.1 kB) Collecting msal<2,>=1 (from cognite-sdk==6.1.5) Downloading msal-1.22.0-py2.py3-none-any.whl (90 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 90.0/90.0 kB 7.7 MB/s eta 0:00:00 Collecting protobuf>=3.16.0 (from cognite-sdk==6.1.5) Downloading protobuf-4.23.0-cp37-abi3-manylinux2014_x86_64.whl (304 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 304.5/304.5 kB 21.7 MB/s eta 0:00:00 Requirement already satisfied: requests<3,>=2 in /home/docs/checkouts/readthedocs.org/user_builds/cognite-sdk-python/envs/latest/lib/python3.8/site-packages (from cognite-sdk==6.1.5) (2.30.0) Collecting requests_oauthlib<2,>=1 (from cognite-sdk==6.1.5) Downloading requests_oauthlib-1.3.1-py2.py3-none-any.whl (23 kB) Collecting sortedcontainers<3.0,>=2.2 (from cognite-sdk==6.1.5) Downloading sortedcontainers-2.4.0-py2.py3-none-any.whl (29 kB) Collecting PyJWT[crypto]<3,>=1.0.0 (from msal<2,>=1->cognite-sdk==6.1.5) Downloading PyJWT-2.7.0-py3-none-any.whl (22 kB) Collecting cryptography<43,>=0.6 (from msal<2,>=1->cognite-sdk==6.1.5) Downloading cryptography-40.0.2-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.7 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.7/3.7 MB 141.1 MB/s eta 0:00:00 Requirement already satisfied: charset-normalizer<4,>=2 in /home/docs/checkouts/readthedocs.org/user_builds/cognite-sdk-python/envs/latest/lib/python3.8/site-packages (from requests<3,>=2->cognite-sdk==6.1.5) (3.1.0) Requirement already satisfied: idna<4,>=2.5 in /home/docs/checkouts/readthedocs.org/user_builds/cognite-sdk-python/envs/latest/lib/python3.8/site-packages (from requests<3,>=2->cognite-sdk==6.1.5) (3.4) Requirement already satisfied: urllib3<3,>=1.21.1 in /home/docs/checkouts/readthedocs.org/user_builds/cognite-sdk-python/envs/latest/lib/python3.8/site-packages (from requests<3,>=2->cognite-sdk==6.1.5) (2.0.2) Requirement already satisfied: certifi>=2017.4.17 in /home/docs/checkouts/readthedocs.org/user_builds/cognite-sdk-python/envs/latest/lib/python3.8/site-packages (from requests<3,>=2->cognite-sdk==6.1.5) (2023.5.7) Collecting oauthlib>=3.0.0 (from requests_oauthlib<2,>=1->cognite-sdk==6.1.5) Downloading oauthlib-3.2.2-py3-none-any.whl (151 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 151.7/151.7 kB 240.8 MB/s eta 0:00:00 Collecting cffi>=1.12 (from cryptography<43,>=0.6->msal<2,>=1->cognite-sdk==6.1.5) Downloading cffi-1.15.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (442 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 442.7/442.7 kB 267.9 MB/s eta 0:00:00 Collecting pycparser (from cffi>=1.12->cryptography<43,>=0.6->msal<2,>=1->cognite-sdk==6.1.5) Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 118.7/118.7 kB 234.3 MB/s eta 0:00:00 Building wheels for collected packages: cognite-sdk Building wheel for cognite-sdk (pyproject.toml): started Building wheel for cognite-sdk (pyproject.toml): finished with status 'done' Created wheel for cognite-sdk: filename=cognite_sdk-6.1.5-py3-none-any.whl size=288885 sha256=d1160c4ac24d1fa39d0ad3290e32a0162c1cd94770c0c8a11c3858cce29e25dc Stored in directory: /tmp/pip-ephem-wheel-cache-0bsoq2dg/wheels/ad/26/a4/2bbf67348716e823d817fe5e35711913384817b1e5f7c0c8e8 Successfully built cognite-sdk Installing collected packages: sortedcontainers, PyJWT, pycparser, protobuf, oauthlib, graphlib-backport, requests_oauthlib, cffi, cryptography, msal, cognite-sdk Successfully installed PyJWT-2.7.0 cffi-1.15.1 cognite-sdk-6.1.5 cryptography-40.0.2 graphlib-backport-1.0.3 msal-1.22.0 oauthlib-3.2.2 protobuf-4.23.0 pycparser-2.21 requests_oauthlib-1.3.1 sortedcontainers-2.4.0 [rtd-command-info] start-time: 2023-05-10T11:30:27.630225Z, end-time: 2023-05-10T11:30:27.691195Z, duration: 0, exit-code: 0 cat docs/source/conf.py #!/usr/bin/env python3 # # cognite-sdk-python documentation build configuration file, created by # sphinx-quickstart on Mon Jan 8 14:36:34 2018. # # 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 re # -- General configuration ------------------------------------------------ # If your documentation needs a minimal Sphinx version, state it here. # # needs_sphinx = '1.0' # 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.autodoc", "sphinx.ext.napoleon"] # Add any paths that contain templates here, relative to this directory. templates_path = ["_templates"] # The suffix(es) of source filenames. # You can specify multiple suffix as a list of string: # # source_suffix = ['.rst', '.md'] source_suffix = ".rst" # The master toctree document. master_doc = "index" # General information about the project. project = "cognite-sdk" copyright = "2019, Cognite AS" author = "Erlend Vollset" # 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. # # The short X.Y version. version = re.search(r'^__version__\s*=\s*"(.*)"', open("../../cognite/client/_version.py").read(), re.M).group(1) # 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. # # This is also used if you do content translation via gettext catalogs. # Usually you set "language" from the command line for these cases. language = "en" # 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 = [] # 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 = False # -- Options for HTML output ---------------------------------------------- # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. # html_theme = "sphinx_rtd_theme" # 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"] # Custom sidebar templates, must be a dictionary that maps document names # to template names. # # This is required for the alabaster theme # refs: http://alabaster.readthedocs.io/en/latest/installation.html#sidebars html_sidebars = { "**": ["relations.html", "searchbox.html", "globaltoc.html"] # needs 'show_related': True theme option to display } html_favicon = "img/cognite_logo_black.png" html_logo = "img/cognite_logo_white.png" # -- Options for HTMLHelp output ------------------------------------------ # Output file base name for HTML help builder. htmlhelp_basename = "cognite-sdk-pythondoc" # -- 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, "cognite-sdk-python.tex", "cognite-sdk-python Documentation", "Cognite", "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, "cognite-sdk-python", "cognite-sdk-python 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, "cognite-sdk-python", "cognite-sdk-python Documentation", author, "cognite-sdk-python", "One line description of project.", "Miscellaneous", ) ] ########################################################################### # 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/main/readthedocs/doc_builder/templates/doc_builder/conf.py.tmpl # # Note: this file shouldn't rely on extra dependencies. import importlib import sys import os.path # Borrowed from six. PY3 = sys.version_info[0] == 3 string_types = str if PY3 else basestring 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: html_theme = 'sphinx_rtd_theme' html_style = None html_theme_options = {} # This following legacy behavior will gradually be sliced out until its deprecated and removed. # Skipped for Sphinx 6+ # Skipped by internal Feature flag SKIP_SPHINX_HTML_THEME_PATH # Skipped by all new projects since SKIP_SPHINX_HTML_THEME_PATH's introduction (jan 2023) if ( using_rtd_theme and version_info < (6,0) and not False ): theme = importlib.import_module('sphinx_rtd_theme') if 'html_theme_path' in globals(): html_theme_path.append(theme.get_html_theme_path()) else: html_theme_path = [theme.get_html_theme_path()] # Define websupport2_base_url and websupport2_static_url 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", 'proxied_static_path': "/_/static/", 'versions': [ ("latest", "/en/latest/"), ("v4", "/en/v4/"), ("v3", "/en/v3/"), ("v2", "/en/v2/"), ], 'downloads': [ ("pdf", "//cognite-sdk-python.readthedocs-hosted.com/_/downloads/en/latest/pdf/"), ("html", "//cognite-sdk-python.readthedocs-hosted.com/_/downloads/en/latest/htmlzip/"), ("epub", "//cognite-sdk-python.readthedocs-hosted.com/_/downloads/en/latest/epub/"), ], 'subprojects': [ ], 'slug': 'cognite-sdk-python', 'name': u'sdk-python', 'rtd_language': u'en', 'programming_language': u'words', 'canonical_url': 'https://cognite-sdk-python.readthedocs-hosted.com/en/latest/', 'analytics_code': 'UA-141199819-1', 'single_version': False, 'conf_py_path': '/docs/source/', 'api_host': 'https://readthedocs.com', 'github_user': 'cognitedata', 'proxied_api_host': '/_', 'github_repo': 'cognite-sdk-python', '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': 'UA-141199819-1', 'global_analytics_code': 'UA-17997319-2', 'commit': '80fa5d8c', } # For sphinx >=1.8 we can use html_baseurl to set the canonical URL. # https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-html_baseurl if version_info >= (1, 8): if not globals().get('html_baseurl'): html_baseurl = context['canonical_url'] context['canonical_url'] = None 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") readthedocs_vcs_url = 'None' readthedocs_build_url = 'https://readthedocs.com/projects/cognite-sdk-python/builds/1464369/' 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: 2023-05-10T11:30:27.959740Z, end-time: 2023-05-10T11:30:28.749997Z, duration: 0, exit-code: 2 python -m sphinx -T -E -b html -d _build/doctrees -D language=en . $READTHEDOCS_OUTPUT/html Running Sphinx v1.8.6 loading translations [en]... done Traceback (most recent call last): File "/home/docs/checkouts/readthedocs.org/user_builds/cognite-sdk-python/envs/latest/lib/python3.8/site-packages/sphinx/registry.py", line 472, in load_extension mod = __import__(extname, None, None, ['setup']) File "/home/docs/checkouts/readthedocs.org/user_builds/cognite-sdk-python/envs/latest/lib/python3.8/site-packages/sphinx/builders/linkcheck.py", line 19, in from requests.exceptions import HTTPError File "/home/docs/checkouts/readthedocs.org/user_builds/cognite-sdk-python/envs/latest/lib/python3.8/site-packages/requests/__init__.py", line 43, in import urllib3 File "/home/docs/checkouts/readthedocs.org/user_builds/cognite-sdk-python/envs/latest/lib/python3.8/site-packages/urllib3/__init__.py", line 38, in raise ImportError( ImportError: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with OpenSSL 1.0.2n 7 Dec 2017. See: https://github.com/urllib3/urllib3/issues/2168 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/docs/checkouts/readthedocs.org/user_builds/cognite-sdk-python/envs/latest/lib/python3.8/site-packages/sphinx/cmd/build.py", line 300, in build_main app = Sphinx(args.sourcedir, args.confdir, args.outputdir, File "/home/docs/checkouts/readthedocs.org/user_builds/cognite-sdk-python/envs/latest/lib/python3.8/site-packages/sphinx/application.py", line 224, in __init__ self.setup_extension(extension) File "/home/docs/checkouts/readthedocs.org/user_builds/cognite-sdk-python/envs/latest/lib/python3.8/site-packages/sphinx/application.py", line 449, in setup_extension self.registry.load_extension(self, extname) File "/home/docs/checkouts/readthedocs.org/user_builds/cognite-sdk-python/envs/latest/lib/python3.8/site-packages/sphinx/registry.py", line 475, in load_extension raise ExtensionError(__('Could not import extension %s') % extname, err) sphinx.errors.ExtensionError: Could not import extension sphinx.builders.linkcheck (exception: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with OpenSSL 1.0.2n 7 Dec 2017. See: https://github.com/urllib3/urllib3/issues/2168) Extension error: Could not import extension sphinx.builders.linkcheck (exception: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with OpenSSL 1.0.2n 7 Dec 2017. See: https://github.com/urllib3/urllib3/issues/2168)