Skip to content

Commit 2e3eff5

Browse files
authored
Merge pull request #15676 from tacaswell/doc_adopt_nep29
Doc adopt nep29
2 parents 650c410 + 74c2ef7 commit 2e3eff5

File tree

1 file changed

+21
-10
lines changed

1 file changed

+21
-10
lines changed

doc/devel/min_dep_policy.rst

Lines changed: 21 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,29 @@ SemVer (major, minor, patch) and includes both major and minor
99
releases. For projects that use date-based versioning, every release
1010
is a 'minor version'.
1111

12+
Matplotlib follows `NEP 29
13+
<https://numpy.org/neps/nep-0029-deprecation_policy.html>`__.
14+
1215

1316
Python and NumPy
1417
================
1518

16-
- support minor versions of ``Python`` initially released
17-
36 months prior to our planned release date.
18-
- support minor versions of ``numpy`` initially released in the 36
19-
months prior to our planned release date or oldest that supports the
20-
minimum python version (which ever is higher)
19+
Matplotlib supports:
20+
21+
22+
- All minor versions of Python released 42 months prior to the
23+
project, and at minimum the two latest minor versions.
24+
- All minor versions of ``numpy`` released in the 24 months prior
25+
to the project, and at minimum the last three minor versions.
26+
27+
In ``setup.py``, the ``python_requires`` variable should be set to
28+
the minimum supported version of Python. All supported minor
29+
versions of Python should be in the test matrix and have binary
30+
artifacts built for the release.
31+
32+
Minimum Python and NumPy version support should be adjusted upward
33+
on every major and minor release, but never on a patch release.
2134

22-
We will bump the minimum python and numpy versions as we can every
23-
minor and major release, but never on a patch release.
2435

2536
See also the :ref:`list-of-dependency-min-versions`.
2637

@@ -30,12 +41,12 @@ Python Dependencies
3041
For python dependencies we should support at least:
3142

3243
with compiled extensions
33-
minor versions initially released in the 36 months prior to our
44+
minor versions initially released in the 24 months prior to our
3445
planned release date or the oldest that support our minimum python +
3546
numpy
3647

3748
without complied extensions
38-
minor versions initially released in the 24 months prior to our
49+
minor versions initially released in the 12 months prior to our
3950
planed release date or the oldest that supports our minimum python.
4051

4152
We will only bump these dependencies as we need new features or the
@@ -77,7 +88,7 @@ specification of the dependencies.
7788
========== ======== ======
7889
Matplotlib Python NumPy
7990
========== ======== ======
80-
3.3 3.6 1.12.0
91+
3.3 3.6 1.15.0
8192
3.2 3.6 1.11.0
8293
`3.1`_ 3.6 1.11.0
8394
`3.0`_ 3.5 1.10.0

0 commit comments

Comments
 (0)