Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable deprecationwarnings #238

Merged
merged 1 commit into from
Jun 11, 2024

Conversation

alhom
Copy link
Contributor

@alhom alhom commented May 22, 2024

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

@alhom alhom mentioned this pull request May 23, 2024
@markusbattarbee markusbattarbee merged commit 5eddd4d into fmihpc:master Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants