You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Matplotlib (as of 3.4.3) currently uses distutils, so users are met with DeprecationWarnings when using on Python 3.10.
from matplotlib import pyplot
.tox/py/lib/python3.10/site-packages/matplotlib/__init__.py:88: in <module>
from distutils.version import LooseVersion
/usr/local/lib/python3.10/distutils/__init__.py:19: in <module>
warnings.warn(_DEPRECATION_MESSAGE,
E DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
Code for reproduction
frommatplotlibimportpyplot
Actual outcome
DeprecationWarning raised per summary.
Expected outcome
No DeprecationWarnings raised
Additional information
No response
Operating system
macOS
Matplotlib Version
3.4.3
Matplotlib Backend
No response
Python version
Python 3.10.0
Jupyter version
No response
Installation
pip
The text was updated successfully, but these errors were encountered:
Bug summary
distutils is deprecated in Python 3.10: https://docs.python.org/3/library/distutils.html
Matplotlib (as of 3.4.3) currently uses
distutils
, so users are met withDeprecationWarning
s when using on Python 3.10.Code for reproduction
Actual outcome
DeprecationWarning
raised per summary.Expected outcome
No
DeprecationWarning
s raisedAdditional information
No response
Operating system
macOS
Matplotlib Version
3.4.3
Matplotlib Backend
No response
Python version
Python 3.10.0
Jupyter version
No response
Installation
pip
The text was updated successfully, but these errors were encountered: