Skip to content

Commit 11bab2e

Browse files
authored
MAINT: Fix CIs for sphinx 6 (#448)
1 parent 7ea993a commit 11bab2e

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.github/workflows/test.yml

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: numpydoc tests
22

3+
concurrency:
4+
group: ${{ github.workflow }}-${{ github.event.number }}-${{ github.event.ref }}
5+
cancel-in-progress: true
6+
37
on:
48
push:
59
branches: [main]
@@ -55,6 +59,7 @@ jobs:
5559
run: |
5660
sudo apt-get update
5761
sudo apt install texlive texlive-latex-extra latexmk dvipng
62+
pip install "sphinx<6"
5863
5964
- name: Build documentation
6065
run: |
@@ -106,6 +111,7 @@ jobs:
106111
run: |
107112
sudo apt-get update
108113
sudo apt install texlive texlive-latex-extra latexmk dvipng
114+
pip install "sphinx<6"
109115
110116
- name: Build documentation
111117
run: |

requirements/doc.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
numpy>=1.21
22
matplotlib>=3.5
33
pydata-sphinx-theme>=0.11
4-
sphinx>=5.2
4+
# TODO: Remove <6 here and in actions when pydata-sphinx-theme handles sphinx 6
5+
sphinx>=5.2,<6

0 commit comments

Comments
 (0)