Skip to content

Commit

Permalink
C++ client: Fix docs build by locking sphinx to version 7.1.2 for the…
Browse files Browse the repository at this point in the history
… time being (#4335)
  • Loading branch information
kosak committed Aug 18, 2023
1 parent d0ee9b0 commit cd23fef
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion sphinx/sphinx.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,14 @@ def sphinxDockerfile = tasks.register('sphinxDockerfile', Dockerfile) {
environmentVariable 'DEEPHAVEN_PROPFILE', 'dh-defaults.prop'
environmentVariable 'DEEPHAVEN_VERSION', project.version

// For the time being we lock the sphinx version to 7.1.2
// This works around the bug described in
// https://github.com/sphinx-doc/sphinx/issues/11605
// We should leave this here until 'breathe' updates their code to be
// compatible with the breaking sphinx change.
runCommand '''set -eux; \\
mkdir /tmp/workspace; \\
python -m pip install sphinx sphinx-autodoc-typehints pyarrow protobuf grpcio bitstring /wheel/*.whl breathe furo
python -m pip install sphinx==7.1.2 sphinx-autodoc-typehints pyarrow protobuf grpcio bitstring /wheel/*.whl breathe furo
'''
}

Expand Down

0 comments on commit cd23fef

Please sign in to comment.