Friendships put at risk by political differences are not friendships.  Acquaintances perhaps, friendships no.  If you value your political opinion more than you value your friends your values are out of line.