California's blanket primary system was ruled unconstitutional in California Democratic Party v. Jones in 2000 because it forced political parties to associate with candidates they did not endorse.
That does not affect the presidential primary, local offices, or non-partisan offices such as judges and the Superintendent of Public Instruction [REF].