8000 DOC: Consolidate API development changes for 3.9 · matplotlib/matplotlib@b9d5408 · GitHub
[go: up one dir, main page]

Skip to content

Commit b9d5408

Browse files
committed
DOC: Consolidate API development changes for 3.9
1 parent 9387431 commit b9d5408

File tree

7 files changed

+51
-37
lines changed

7 files changed

+51
-37
lines changed

doc/api/next_api_changes/development/26800-OG.rst

Lines changed: 0 additions & 14 deletions
This file was deleted.

doc/api/next_api_changes/development/26849-KS.rst

Lines changed: 0 additions & 5 deletions
This file was deleted.

doc/api/next_api_changes/development/27012-ES.rst

Lines changed: 0 additions & 7 deletions
This file was deleted.

doc/api/next_api_changes/development/27676-ES.rst

Lines changed: 0 additions & 6 deletions
This file was deleted.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
API Changes for 3.9.0
2+
=====================
3+
4+
.. contents::
5+
:local:
6+
:depth: 1
7+
8+
.. include:: /api/prev_api_changes/api_changes_3.9.0/development.rst

doc/api/next_api_changes/development/26621-ES.rst renamed to doc/api/prev_api_changes/api_changes_3.9.0/development.rst

Lines changed: 42 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1+
Development changes
2+
-------------------
3+
14
Build system ported to Meson
2-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
36

47
The build system of Matplotlib has been ported from setuptools to `meson-python
58
<https://meson-python.readthedocs.io>`_ and `Meson <https://mesonbuild.com>`_.
@@ -26,7 +29,7 @@ Consequently, there have been a few changes for development and packaging purpos
2629

2730
may be replaced by passing the following arguments to ``pip``::
2831

29-
--config-settings=setup-args="-DrcParams-backend=Agg" \
32+
--config-settings=setup-args="-DrcParams-backend=Agg"
3033
--config-settings=setup-args="-Dsystem-qhull=true"
3134

3235
Note that you must use ``pip`` >= 23.1 in order to pass more than one setting.
@@ -37,10 +40,45 @@ Consequently, there have been a few changes for development and packaging purpos
3740
<https://mesonbuild.com/Builtin-options.html#details-for-vsenv>`_ if you wish to
3841
change the priority of chosen compilers.
3942
5. Installation of test data was previously controlled by :file:`mplsetup.cfg`, but has
40-
now been moved to Meson's install tags. To install test data, add the ``tests``
41-
tag to the requested install (be sure to include the existing tags as below)::
43+
now been moved to Meson's install tags. To install test data, add the ``tests`` tag
44+
to the requested install (be sure to include the existing tags as below)::
4245

4346
--config-settings=install-args="--tags=data,python-runtime,runtime,tests"
4447
6. Checking typing stubs with ``stubtest`` does not work easily with editable install.
4548
For the time being, we suggest using a normal (non-editable) install if you wish to
4649
run ``stubtest``.
50+
51+
Increase to minimum supported versions of dependencies
52+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
53+
54+
For Matplotlib 3.9, the :ref:`minimum supported versions <dependencies>` are being
55+
bumped:
56+
57+
+------------+-----------------+---------------+
58+
| Dependency | min in mpl3.8 | min in mpl3.9 |
59+
+============+=================+===============+
60+
| NumPy | 1.21.0 | 1.23.0 |
61+
+------------+-----------------+---------------+
62+
| setuptools | 42 | 64 |
63+
+------------+-----------------+---------------+
64+
65+
This is consistent with our :ref:`min_deps_policy` and `SPEC 0
66+
<https://scientific-python.org/specs/spec-0000/>`__.
67+
68+
To comply with requirements of ``setuptools_scm``, the minimum version of ``setuptools``
69+
has been increased from 42 to 64.
70+
71+
Extensions require C++17
72+
^^^^^^^^^^^^^^^^^^^^^^^^
73+
74+
Matplotlib now requires a compiler that supports C++17 in order to build its extensions.
75+
According to `SciPy's analysis
76+
<https://docs.scipy.org/doc/scipy/dev/toolchain.html#c-language-standards>`_, this
77+
should be available on all supported platforms.
78+
79+
Windows on ARM64 support
80+
^^^^^^^^^^^^^^^^^^^^^^^^
81+
82+
Windows on ARM64 now bundles FreeType 2.6.1 instead of 2.11.1 when building from source.
83+
This may cause small changes to text rendering, but should become consistent with all
84+
other platforms.

doc/users/release_notes.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Version 3.9
1919
:maxdepth: 1
2020

2121
next_whats_new
22-
../api/next_api_changes
22+
../api/prev_api_changes/api_changes_3.9.0.rst
2323
github_stats.rst
2424

2525
Version 3.8

0 commit comments

Comments
 (0)
0