summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Larson <larson.eric.d@gmail.com>2023-01-24 16:05:28 -0500
committerGitHub <noreply@github.com>2023-01-24 13:05:28 -0800
commit11bab2e686d2e6df95bc412b08a8483b9d1c43b9 (patch)
tree278e198c71af7edfc8a243d606196a9974218a22
parent7ea993a6177b5b2186cd1bd96b83ee19d2bd641a (diff)
downloadnumpydoc-11bab2e686d2e6df95bc412b08a8483b9d1c43b9.tar.gz
MAINT: Fix CIs for sphinx 6 (#448)
-rw-r--r--.github/workflows/test.yml6
-rw-r--r--requirements/doc.txt3
2 files changed, 8 insertions, 1 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index eb7fa3e..7d7e1d4 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -1,5 +1,9 @@
name: numpydoc tests
+concurrency:
+ group: ${{ github.workflow }}-${{ github.event.number }}-${{ github.event.ref }}
+ cancel-in-progress: true
+
on:
push:
branches: [main]
@@ -55,6 +59,7 @@ jobs:
run: |
sudo apt-get update
sudo apt install texlive texlive-latex-extra latexmk dvipng
+ pip install "sphinx<6"
- name: Build documentation
run: |
@@ -106,6 +111,7 @@ jobs:
run: |
sudo apt-get update
sudo apt install texlive texlive-latex-extra latexmk dvipng
+ pip install "sphinx<6"
- name: Build documentation
run: |
diff --git a/requirements/doc.txt b/requirements/doc.txt
index 643fc9a..dfc68f9 100644
--- a/requirements/doc.txt
+++ b/requirements/doc.txt
@@ -1,4 +1,5 @@
numpy>=1.21
matplotlib>=3.5
pydata-sphinx-theme>=0.11
-sphinx>=5.2
+# TODO: Remove <6 here and in actions when pydata-sphinx-theme handles sphinx 6
+sphinx>=5.2,<6