code: def _warn_if_above_max_supported_version(
      package_name, package_version, max_supported_version
  ):
      if _get_version(package_version) > _StrictVersion(
          max_supported_version
      ):
          logger.warning(
              "%s version %s has not been tested with coremltools. You may run into unexpected errors. "
              "%s %s is the most recent version that has been tested."
              % (
                  package_name,
                  package_version,
                  package_name,
                  max_supported_version,
              )
          )
  
file_path: coremltools/coremltools/_deps/__init__.py
imports: import platform
  import re
  import sys
  from distutils.version import StrictVersion
  from packaging import version
  from coremltools import _logger
label_desc: Use image node_id 2 for calling a global function with example usage: _warn_if_above_max_supported_version(package_name, package_version, max_supported_version) without return types