|
| 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. |
0 commit comments