Skip to content

Commit ca0c0f7

Browse files
committed
build(pyproject.toml): drop support for python 3.9 (require 3.10+)
In upgrading via numpy#592 and numpy#622, requires stable use of __qualname__, not supported in dataclasses in python3.9 (solves numpy#637).
1 parent bad5c0b commit ca0c0f7

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
strategy:
1717
matrix:
1818
os: [Ubuntu]
19-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
19+
python-version: ["3.10", "3.11", "3.12", "3.13"]
2020
sphinx-version:
2121
["sphinx==6.0", "sphinx==6.2", "sphinx==7.0", "sphinx>=7.3"]
2222
include:

README.rst

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

20-
numpydoc requires Python 3.9+ and sphinx 6+.
20+
numpydoc requires Python 3.10+ and sphinx 6+.
2121

2222
For usage information, please refer to the `documentation
2323
<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.9+, sphinx 6+ and is available from:
8+
This extension requires Python 3.10+, sphinx 6+ and is available from:
99

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

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ requires = ['setuptools>=61.2']
66
name = 'numpydoc'
77
description = 'Sphinx extension to support docstrings in Numpy format'
88
readme = 'README.rst'
9-
requires-python = '>=3.9'
9+
requires-python = '>=3.10'
1010
dynamic = ['version']
1111
keywords = [
1212
'sphinx',
@@ -20,7 +20,6 @@ classifiers = [
2020
'Operating System :: OS Independent',
2121
'Programming Language :: Python',
2222
'Programming Language :: Python :: 3',
23-
'Programming Language :: Python :: 3.9',
2423
'Programming Language :: Python :: 3.10',
2524
'Programming Language :: Python :: 3.11',
2625
'Programming Language :: Python :: 3.12',

0 commit comments

Comments
 (0)