Quick addition to enable DeprecationWarnings, since https://peps.python.org/pep-0565/ disables them from imported modules. This way we can stay ahead of the curve a bit better...
This also immediately shows that our current method of handling deprecated APIs is going to be deprecated:
/home/mjalho/proj/analysator/pyPlots/plot_colormap.py:41: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
from distutils.version import LooseVersion, StrictVersion
Quick addition to enable DeprecationWarnings, since https://peps.python.org/pep-0565/ disables them from imported modules. This way we can stay ahead of the curve a bit better...
This also immediately shows that our current method of handling deprecated APIs is going to be deprecated: