File tree 1 file changed +19
-0
lines changed
doc/api/prev_api_changes/api_changes_3.8.0
1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -171,3 +171,22 @@ saved.
171
171
172
172
Previously, *mincnt * was inclusive with no *C * provided but exclusive when *C * is provided.
173
173
It is now inclusive of *mincnt * in both cases.
174
+
175
+
176
+ ``matplotlib.mpl_toolkits `` is now an implicit namespace package
177
+ ----------------------------------------------------------------
178
+
179
+ Following the deprecation of ``pkg_resources.declare_namespace `` in ``setuptools `` 67.3.0,
180
+ ``matplotlib.mpl_toolkits `` is now implemented as an implicit namespace, following
181
+ `PEP 420 <https://peps.python.org/pep-0420/ >`_.
182
+
183
+ As a consequence using ``pip `` to install a version of Matplotlib >= 3.8 on top
184
+ of a version of Matplotlib < 3.8 (e.g. via ``pip install --local `` or
185
+ ``python -m venv --system-site-packages ... ``) will fail because the old
186
+ ``matplotlib.mpl_toolkits `` files will be found whereas the newer files will be
187
+ found for all other modules. This will result in errors due to the version
188
+ mismatch.
189
+
190
+ To avoid this issue you need to avoid having multiple versions of Matplotlib
191
+ in different entries of ``sys.path ``. Either uninstall Matplotlib
192
+ at the system level or use a more isolated virtual environment.
You can’t perform that action at this time.
0 commit comments