Skip to content

Commit faaa488

Browse files
Update supported Python versions (#348)
Drop support for 3.5 and 3.6 Add support for 3.10 3.6 EOL 23 Dec 2021 3.5 EOL 13 Sep 2020
1 parent b5b7e25 commit faaa488

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
matrix:
1414
os: [Ubuntu]
15-
python-version: [3.6, 3.7, 3.8, 3.9]
15+
python-version: ["3.7", "3.8", "3.9", "3.10"]
1616
sphinx-version: ["sphinx==1.8.0", "sphinx==2.1", "sphinx>3.0"]
1717
steps:
1818
- uses: actions/checkout@v2

README.rst

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

16-
numpydoc requires Python 3.5+ and sphinx 1.6.5+.
16+
numpydoc requires Python 3.7+ and sphinx 1.6.5+.
1717

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

setup.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77

88
from numpydoc import __version__ as version
99

10-
if sys.version_info < (3, 5):
11-
raise RuntimeError("Python version >= 3.5 required.")
10+
if sys.version_info < (3, 7):
11+
raise RuntimeError("Python version >= 3.7 required.")
1212

1313

1414
def read(fname):
@@ -35,19 +35,18 @@ def read(fname):
3535
"Topic :: Documentation",
3636
"Programming Language :: Python",
3737
"Programming Language :: Python :: 3",
38-
"Programming Language :: Python :: 3.5",
39-
"Programming Language :: Python :: 3.6",
4038
"Programming Language :: Python :: 3.7",
4139
"Programming Language :: Python :: 3.8",
4240
"Programming Language :: Python :: 3.9",
41+
"Programming Language :: Python :: 3.10",
4342
],
4443
keywords="sphinx numpy",
4544
author="Pauli Virtanen and others",
4645
author_email="pav@iki.fi",
4746
url="https://numpydoc.readthedocs.io",
4847
license="BSD",
4948
install_requires=["sphinx >= 1.6.5", 'Jinja2>=2.3'],
50-
python_requires=">=3.5",
49+
python_requires=">=3.7",
5150
extras_require={
5251
"testing": [
5352
req for req in read('test_requirements.txt').split('\n')

0 commit comments

Comments
 (0)