From e3aec93dde0310368ee58f29fb92dfd67ceffd95 Mon Sep 17 00:00:00 2001 From: Manoel Marques Date: Wed, 12 May 2021 10:58:51 -0400 Subject: [PATCH] Pin Sphinx version below 4.0.0 (#187) (#189) * Pin Sphinx version below 4.0.0 * Remove duplicate libraries Co-authored-by: Manoel Marques Co-authored-by: Max Rossmannek --- .github/workflows/deploy-docs.yml | 2 +- .github/workflows/main.yml | 4 ++-- requirements-dev.txt | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index 95974247be..f1d8e87b4d 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -35,7 +35,7 @@ jobs: - uses: ./.github/actions/install-nature - name: Install Dependencies run: | - pip install jupyter sphinx nbsphinx sphinx_rtd_theme 'matplotlib<3.3.0' qiskit-terra[visualization] + pip install jupyter sphinx_rtd_theme 'matplotlib<3.3.0' qiskit-terra[visualization] sudo apt-get install -y pandoc graphviz shell: bash - name: Build and publish diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c59915054d..67779c2946 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -44,7 +44,7 @@ jobs: - uses: ./.github/actions/install-nature - name: Install Dependencies run: | - pip install jupyter sphinx nbsphinx sphinx_rtd_theme 'matplotlib<3.3.0' qiskit-terra[visualization] + pip install jupyter sphinx_rtd_theme 'matplotlib<3.3.0' qiskit-terra[visualization] sudo apt-get install -y pandoc graphviz sudo apt-get -y install python3-enchant sudo apt-get -y install hunspell-en-us @@ -176,7 +176,7 @@ jobs: - uses: ./.github/actions/install-nature - name: Install Dependencies run: | - pip install jupyter sphinx nbsphinx sphinx_rtd_theme 'matplotlib<3.3.0' qiskit-terra[visualization] + pip install jupyter sphinx_rtd_theme 'matplotlib<3.3.0' qiskit-terra[visualization] sudo apt-get install -y pandoc graphviz shell: bash - name: Run Qiskit Nature Tutorials diff --git a/requirements-dev.txt b/requirements-dev.txt index 097dd5b6a6..1ff4599d70 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -7,7 +7,7 @@ pylatexenc>=1.4 stestr>=2.0.0 ddt>=1.2.0,!=1.4.0 reno>=3.2.0 -Sphinx>=1.8.3,!=3.1.0 +Sphinx>=1.8.3,!=3.1.0,<4 sphinx-tabs>=1.1.11 sphinx-autodoc-typehints jupyter-sphinx