code: def get_dependency_tuple_list_for_recipe(recipe, blacklist=None):
      
      if blacklist is None:
          blacklist = set()
      assert(type(blacklist) == set)
      if recipe.depends is None:
          dependencies = []
      else:
          # Turn all dependencies into tuples so that product will work
          dependencies = fix_deplist(recipe.depends)
  
          # Filter out blacklisted items and turn lowercase:
          dependencies = [
              tuple(set(deptuple) - blacklist)
              for deptuple in dependencies
              if tuple(set(deptuple) - blacklist)
          ]
      return dependencies
docs: Get the dependencies of a recipe with filtered out blacklist, and
          turned into tuples with fix_deplist()