Skip to content

Commit

Permalink
Require Sphinx < 7 for now
Browse files Browse the repository at this point in the history
Removal of the setuptools integration from Sphinx breaks our builds. See
sphinx-doc/sphinx#11363 for the change in
Sphinx.
  • Loading branch information
sebastinas committed May 1, 2023
1 parent acffa53 commit 26fc2b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Expand Up @@ -32,7 +32,7 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install urwid twisted watchdog "jedi >=0.16" babel "sphinx >=1.5"
pip install urwid twisted watchdog "jedi >=0.16" babel "sphinx >=1.5,<7"
pip install pytest pytest-cov numpy
- name: Build with Python ${{ matrix.python-version }}
run: |
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -20,7 +20,7 @@
from sphinx.setup_command import BuildDoc

# Sphinx 1.5 and newer support Python 3.6
using_sphinx = sphinx.__version__ >= "1.5"
using_sphinx = sphinx.__version__ >= "1.5" and sphinx.__version__ < "7.0"
except ImportError:
using_sphinx = False

Expand Down

0 comments on commit 26fc2b5

Please sign in to comment.