Skip to content

Commit 6257b48

Browse files
committed
Python 3.10 requires sphinx>=4.2
1 parent 7d711c3 commit 6257b48

File tree

4 files changed

+11
-5
lines changed

4 files changed

+11
-5
lines changed

.github/workflows/test.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,13 @@ jobs:
1414
os: [Ubuntu]
1515
python-version: ["3.7", "3.8", "3.9", "3.10"]
1616
sphinx-version:
17-
["sphinx==4.0.3", "sphinx==4.5", "sphinx==5.0", "sphinx>=5.0"]
17+
["sphinx==4.0.2", "sphinx==4.5", "sphinx==5.0", "sphinx>=5.0"]
18+
exclude:
19+
- python-version: "3.10"
20+
sphinx-version: "sphinx==4.0.2"
21+
include:
22+
- python-version: "3.10"
23+
sphinx-version: "sphinx==4.2"
1824
steps:
1925
- uses: actions/checkout@v3
2026

@@ -68,7 +74,7 @@ jobs:
6874
os: [ubuntu, macos, windows]
6975
python-version: ["3.11-dev"]
7076
sphinx-version:
71-
["sphinx==4.0.3", "sphinx==4.5", "sphinx==5.0", "sphinx>=5.0"]
77+
["sphinx==4.2", "sphinx==4.5", "sphinx==5.0", "sphinx>=5.0"]
7278
steps:
7379
- uses: actions/checkout@v3
7480

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ docstrings formatted according to the NumPy documentation format.
1818
The extension also adds the code description directives
1919
``np:function``, ``np-c:function``, etc.
2020

21-
numpydoc requires Python 3.7+ and sphinx 4.0.3+.
21+
numpydoc requires Python 3.7+ and sphinx 4.0.2+.
2222

2323
For usage information, please refer to the `documentation
2424
<https://numpydoc.readthedocs.io/>`_.

doc/install.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Getting started
55
Installation
66
============
77

8-
This extension requires Python 3.7+, sphinx 4.0.3+ and is available from:
8+
This extension requires Python 3.7+, sphinx 4.0.2+ and is available from:
99

1010
* `numpydoc on PyPI <http://pypi.python.org/pypi/numpydoc>`_
1111
* `numpydoc on GitHub <https://github.com/numpy/numpydoc/>`_

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def read(fname):
5252
author_email="[email protected]",
5353
url="https://numpydoc.readthedocs.io",
5454
license="BSD",
55-
install_requires=["sphinx>4.0.2", "Jinja2>=2.10"],
55+
install_requires=["sphinx>=4.0.2", "Jinja2>=2.10"],
5656
python_requires=">=3.7",
5757
extras_require={
5858
"testing": [

0 commit comments

Comments
 (0)