Skip to content

Commit

Permalink
MAINT: Fix CIs for sphinx 6 (#448)
Browse files Browse the repository at this point in the history
  • Loading branch information
larsoner committed Jan 24, 2023
1 parent 7ea993a commit 11bab2e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -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]
Expand Down Expand Up @@ -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: |
Expand Down Expand Up @@ -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: |
Expand Down
3 changes: 2 additions & 1 deletion requirements/doc.txt
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 11bab2e

Please sign in to comment.