def _invert_dependencies(deps):
    ideps = {}
    for k, v in deps.items():
        for d in v:
            l = ideps.get(d, None)
            if l:
                l.append(k)
            else:
                l = [k]
            ideps[d] = l

    return ideps
This is used at the start of metadata test functions.
dataset/ETHPy150Open enthought/depsolver/depsolver/utils.py/_invert_dependencies--crossover with--dataset/ETHPy150Open typesupply/woffTools/Lib/woffTools/tools/validate.py/_shouldSkipMetadataTest