Skip to content

Commit 26fc2b5

Browse files
committed
Require Sphinx < 7 for now
Removal of the setuptools integration from Sphinx breaks our builds. See sphinx-doc/sphinx#11363 for the change in Sphinx.
1 parent acffa53 commit 26fc2b5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
run: |
3333
python -m pip install --upgrade pip
3434
pip install -r requirements.txt
35-
pip install urwid twisted watchdog "jedi >=0.16" babel "sphinx >=1.5"
35+
pip install urwid twisted watchdog "jedi >=0.16" babel "sphinx >=1.5,<7"
3636
pip install pytest pytest-cov numpy
3737
- name: Build with Python ${{ matrix.python-version }}
3838
run: |

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
from sphinx.setup_command import BuildDoc
2121

2222
# Sphinx 1.5 and newer support Python 3.6
23-
using_sphinx = sphinx.__version__ >= "1.5"
23+
using_sphinx = sphinx.__version__ >= "1.5" and sphinx.__version__ < "7.0"
2424
except ImportError:
2525
using_sphinx = False
2626

0 commit comments

Comments
 (0)