File: development.rst

package info (click to toggle)
matplotlib 3.10.1%2Bdfsg1-4
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 78,352 kB
  • sloc: python: 147,118; cpp: 62,988; objc: 1,679; ansic: 1,426; javascript: 786; makefile: 104; sh: 53
file content (49 lines) | stat: -rw-r--r-- 1,755 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
Development changes
-------------------


Windows wheel runtime bundling
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Wheels built for Windows now bundle the MSVC runtime DLL ``msvcp140.dll``. This
enables importing Matplotlib on systems that do not have the runtime installed.


Increase to minimum supported versions of dependencies
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


For Matplotlib 3.7, the :ref:`minimum supported versions <dependencies>` are
being bumped:

+------------+-----------------+---------------+
| Dependency |  min in mpl3.6  | min in mpl3.7 |
+============+=================+===============+
|   NumPy    |       1.19      |      1.20     |
+------------+-----------------+---------------+
| pyparsing  |      2.2.1      |    2.3.1      |
+------------+-----------------+---------------+
|     Qt     |                 |     5.10      |
+------------+-----------------+---------------+

- There are no wheels or conda packages that support both Qt 5.9 (or older) and
  Python 3.8 (or newer).

This is consistent with our :ref:`min_deps_policy` and `NEP29
<https://numpy.org/neps/nep-0029-deprecation_policy.html>`__


New dependencies
~~~~~~~~~~~~~~~~

* `importlib-resources <https://pypi.org/project/importlib-resources/>`_
  (>= 3.2.0; only required on Python < 3.10)

Maximum line length increased to 88 characters
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

The maximum line length for new contributions has been extended from 79 characters to
88 characters.
This change provides an extra 9 characters to allow code which is a single idea to fit
on fewer lines (often a single line).
The chosen length is the same as `black <https://black.readthedocs.io/en/stable/the_black_code_style/current_style.html#line-length>`_.