code: def get_missing_requirements(func, requires, d):
      
      if not requires:
          return None
      if any(i in d for i in IGNORE.get(func, [])):
          raise SkipComponent()
      req_all, req_any = split_requirements(requires)
      d = set(d.keys())
      req_all = [r for r in req_all if r not in d]
      req_any = [r for r in req_any if set(r).isdisjoint(d)]
      if req_all or req_any:
          return req_all, req_any
      else:
          return None
docs: .. deprecated:: 1.x