Skip to content

Commit 9a6bc5a

Browse files
committed
DOC: Coalesce API development changes for 3.11
1 parent 75ea50c commit 9a6bc5a

7 files changed

Lines changed: 45 additions & 38 deletions

File tree

doc/api/next_api_changes/deprecations/29904-tac.rst

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

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

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

doc/api/next_api_changes/development/29745-DS.rst

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

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

Lines changed: 0 additions & 7 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.11.0
2+
======================
3+
4+
.. contents::
5+
:local:
6+
:depth: 1
7+
8+
.. include:: /api/prev_api_changes/api_changes_3.10.0/development.rst
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
Increase to minimum supported versions of dependencies
2+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3+
4+
For Matplotlib 3.11, the :ref:`minimum supported versions <dependencies>` are being
5+
bumped:
6+
7+
+------------+-----------------+----------------+
8+
| Dependency | min in mpl3.10 | min in mpl3.11 |
9+
+============+=================+================+
10+
| Python | 3.10 | 3.11 |
11+
| NumPy | 1.23 | 1.25 |
12+
| pyparsing | 2.3.1 | 3.0.0 |
13+
+------------+-----------------+----------------+
14+
15+
This is consistent with our :ref:`min_deps_policy` and `SPEC0
16+
<https://scientific-python.org/specs/spec-0000/>`__
17+
18+
pip 25.1 suggested for development
19+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
20+
21+
Dependencies for development (build and testing) are now specified as `Dependency Groups
22+
<https://packaging.python.org/en/latest/specifications/dependency-groups/#dependency-groups>`_
23+
instead of `individual requirements files
24+
<https://pip.pypa.io/en/stable/reference/requirements-file-format/>`_.
25+
26+
Consequently, a version of pip that supports Dependency Groups is suggested, namely
27+
version 25.1 or higher. Note that if you install build/testing dependencies manually (by
28+
copying the list from ``pyproject.toml``), then an older version of pip is sufficient.
29+
30+
Glyph indices now typed distinctly from character codes
31+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32+
33+
Previously, character codes and glyph indices were both typed as `int`, which means you
34+
could mix and match them erroneously. While the character code can't be made a distinct
35+
type (because it's used for `chr`/`ord`), typing glyph indices as a distinct type means
36+
these can't be fully swapped.

doc/release/release_notes.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ Version 3.11
1818
.. toctree::
1919
:maxdepth: 1
2020

21+
../api/prev_api_changes/api_changes_3.11.0.rst
2122
github_stats.rst
2223

2324
Version 3.10

0 commit comments

Comments
 (0)