Skip to content

Commit 7ff4904

Browse files
oscargusQuLogic
authored andcommitted
Bump minimum NumPy version to 1.23
1 parent 49aad96 commit 7ff4904

File tree

7 files changed

+22
-6
lines changed

7 files changed

+22
-6
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
Increase to minimum supported versions of dependencies
2+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3+
4+
For Matplotlib 3.9, the :ref:`minimum supported versions <dependencies>` are
5+
being bumped:
6+
7+
+------------+-----------------+---------------+
8+
| Dependency | min in mpl3.8 | min in mpl3.9 |
9+
+============+=================+===============+
10+
| NumPy | 1.21.0 | 1.23.0 |
11+
+------------+-----------------+---------------+
12+
13+
This is consistent with our :ref:`min_deps_policy` and `NEP29
14+
<https://numpy.org/neps/nep-0029-deprecation_policy.html>`__

doc/devel/min_dep_policy.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ specification of the dependencies.
8888
========== ======== ======
8989
Matplotlib Python NumPy
9090
========== ======== ======
91+
`3.9`_ 3.9 1.23.0
9192
`3.8`_ 3.9 1.21.0
9293
`3.7`_ 3.8 1.20.0
9394
`3.6`_ 3.8 1.19.0
@@ -108,6 +109,7 @@ Matplotlib Python NumPy
108109
1.0 2.4 1.1
109110
========== ======== ======
110111

112+
.. _`3.9`: https://matplotlib.org/3.9.0/devel/dependencies.html
111113
.. _`3.8`: https://matplotlib.org/3.8.0/devel/dependencies.html
112114
.. _`3.7`: https://matplotlib.org/3.7.0/devel/dependencies.html
113115
.. _`3.6`: https://matplotlib.org/3.6.0/devel/dependencies.html

doc/users/installing/dependencies.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ reference.
2525
* `dateutil <https://pypi.org/project/python-dateutil/>`_ (>= 2.7)
2626
* `fontTools <https://fonttools.readthedocs.io/en/latest/>`_ (>= 4.22.0)
2727
* `kiwisolver <https://github.com/nucleic/kiwi>`_ (>= 1.3.1)
28-
* `NumPy <https://numpy.org>`_ (>= 1.21)
28+
* `NumPy <https://numpy.org>`_ (>= 1.23)
2929
* `packaging <https://pypi.org/project/packaging/>`_ (>= 20.0)
3030
* `Pillow <https://pillow.readthedocs.io/en/latest/>`_ (>= 8.0)
3131
* `pyparsing <https://pypi.org/project/pyparsing/>`_ (>= 2.3.1)
@@ -238,7 +238,7 @@ then you must manually install the following packages into your development envi
238238
- `setuptools_scm <https://pypi.org/project/setuptools-scm/>`_ (>= 7). Used to
239239
update the reported ``mpl.__version__`` based on the current git commit.
240240
Also a runtime dependency for editable installs.
241-
- `NumPy <https://numpy.org>`_ (>= 1.21). Also a runtime dependency.
241+
- `NumPy <https://numpy.org>`_ (>= 1.22). Also a runtime dependency.
242242

243243

244244
.. _compile-dependencies:

environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ dependencies:
1717
- kiwisolver>=1.3.1
1818
- pybind11>=2.6.0
1919
- meson-python>=0.13.1
20-
- numpy>=1.21
20+
- numpy>=1.23
2121
- pillow>=8
2222
- pkg-config
2323
- pygobject

lib/matplotlib/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ def _check_versions():
251251
("cycler", "0.10"),
252252
("dateutil", "2.7"),
253253
("kiwisolver", "1.3.1"),
254-
("numpy", "1.21"),
254+
("numpy", "1.23"),
255255
("pyparsing", "2.3.1"),
256256
]:
257257
module = importlib.import_module(modname)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ dependencies = [
3535
"cycler >= 0.10",
3636
"fonttools >= 4.22.0",
3737
"kiwisolver >= 1.3.1",
38-
"numpy >= 1.21",
38+
"numpy >= 1.23",
3939
"packaging >= 20.0",
4040
"pillow >= 8",
4141
"pyparsing >= 2.3.1",

requirements/testing/minver.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ importlib-resources==3.2.0
77
kiwisolver==1.3.1
88
meson-python==0.13.1
99
meson==1.1.0
10-
numpy==1.21.0
10+
numpy==1.23.0
1111
packaging==20.0
1212
pillow==8.0.0
1313
pyparsing==2.3.1

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy