def check_compatibility():
 messages = []
 for check_module in COMPAT_CHECKS:
  check = getattr(check_module, u'run_checks', None)
  if (check is None):
   warnings.warn(((u"The '%s' module lacks a " % check_module.__name__) + u"'run_checks' method, which is needed to verify compatibility."))
   continue
  messages.extend(check())
 return messages

def check_compatibility ( ) : messages = [ ] for check_module in COMPAT_CHECKS : check = getattr ( check_module , u'run_checks' , None ) if ( check is None ) : warnings . warn ( ( ( u"The '%s' module lacks a " % check_module . __name__ ) + u"'run_checks' method, which is needed to verify compatibility." ) ) continue messages . extend ( check ( ) ) return messages
raises errors or warns if called with an incompatible wheel-version .