Bug summary
Hello,
Not really a bug, but I noticed that Python 3.12 introduced a new deprecation warning in the datetime module that affects Matplotlib users and dependent packages.
I could not find any related issue, so I wanted to point it out to you.
I actually run my tests with pytest -Werror so I had to filter out the warning with:
ignore:datetime\.datetime\.utcfromtimestamp\(\) is deprecated:DeprecationWarning to pass tests on Python 3.12 :-)
Code for reproduction
Actual outcome
Deprecation warnings are raised.
Expected outcome
No deprecation warning
Additional information
No response
Operating system
No response
Matplotlib Version
3.8.2
Matplotlib Backend
No response
Python version
3.12
Jupyter version
No response
Installation
pip