Skip to content

Commit 2ca0553

Browse files
committed
Add note about supported Python and NumPy versions
1 parent f8c8518 commit 2ca0553

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

doc/developing.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,3 +133,21 @@ pdm run lint
133133

134134
Generally speaking, there should be no violations reported for the code
135135
to be considered mergeable.
136+
137+
## NumPy and Python version support
138+
139+
Our rule of thumb is that we support and test against all currently supported
140+
NumPy versions and all Python versions officially supported by them, and
141+
the test runner setup (`tox.ini` and
142+
`.github/workflows/python-package.yml`) should be kept updated to
143+
reflect this.
144+
145+
The currently supported NumPy versions are stated in
146+
[NEP 29](https://numpy.org/neps/nep-0029-deprecation_policy.html).
147+
We look at the package metadata to determine which Python versions they
148+
officially support, which can be easily checked on PyPI. (Example:
149+
[Numpy 2.0](https://pypi.org/project/numpy/2.0.0/).)
150+
151+
All that being said, we consider missing a NumPy or Python release to
152+
be pretty low-risk, so at any given moment, our official test matrix
153+
may be lagging the latest releases by a little bit.

0 commit comments

Comments
 (0)