|
| 1 | +Development changes |
| 2 | +------------------- |
| 3 | + |
| 4 | +Increase to minimum supported versions of dependencies |
| 5 | +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 6 | + |
| 7 | +For Matplotlib 3.5, the :ref:`minimum supported versions <dependencies>` and |
| 8 | +some :ref:`optional dependencies <optional_dependencies>` are being bumped: |
| 9 | + |
| 10 | ++---------------+---------------+---------------+ |
| 11 | +| Dependency | min in mpl3.4 | min in mpl3.5 | |
| 12 | ++===============+===============+===============+ |
| 13 | +| NumPy | 1.16 | 1.17 | |
| 14 | ++---------------+---------------+---------------+ |
| 15 | +| Tk (optional) | 8.3 | 8.4 | |
| 16 | ++---------------+---------------+---------------+ |
| 17 | + |
| 18 | +This is consistent with our :ref:`min_deps_policy` and `NEP29 |
| 19 | +<https://numpy.org/neps/nep-0029-deprecation_policy.html>`__ |
| 20 | + |
| 21 | +New runtime dependencies |
| 22 | +~~~~~~~~~~~~~~~~~~~~~~~~ |
| 23 | + |
| 24 | +fontTools for type 42 subsetting |
| 25 | +................................ |
| 26 | + |
| 27 | +A new dependency `fontTools <https://fonttools.readthedocs.io/>`_ is integrated |
| 28 | +into Matplotlib 3.5. It is designed to be used with PS/EPS and PDF documents; |
| 29 | +and handles Type 42 font subsetting. |
| 30 | + |
| 31 | +Underscore support in LaTeX |
| 32 | +........................... |
| 33 | + |
| 34 | +The `underscore <https://ctan.org/pkg/underscore>`_ package is now a |
| 35 | +requirement to improve support for underscores in LaTeX. |
| 36 | + |
| 37 | +This is consistent with our :ref:`min_deps_policy`. |
| 38 | + |
| 39 | +Matplotlib-specific build options moved from ``setup.cfg`` to ``mplsetup.cfg`` |
| 40 | +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 41 | + |
| 42 | +In order to avoid conflicting with the use of :file:`setup.cfg` by |
| 43 | +``setuptools``, the Matplotlib-specific build options have moved from |
| 44 | +``setup.cfg`` to ``mplsetup.cfg`` |
| 45 | + |
| 46 | +Note that the path to this configuration file can still be set via the |
| 47 | +:envvar:`MPLSETUPCFG` environment variable, which allows one to keep using the |
| 48 | +same file before and after this change. |
0 commit comments