Merge "Generalize pip transitions and assertions" into sc-dev