csdms / standard_names

Python package for working with CSDMS Standard Names

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Replace deprecated distutils.version module

mdpiper opened this issue · comments

A warning about using distutils is emitted in Python 3.11:

/home/mpiper/anaconda3/envs/logo/lib/python3.11/site-packages/standard_names/registry.py:69:
  DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
    return StrictVersion(version_str)

See also csdms/bmi-tester#34.

Whoops, distutils.version, not numpy.distutils.