Weak path independence