President Francois Hollande shocked France on Thursday by announcing he would not seek a second term next year, acknowledging his deep unpopularity and making way for another leftist candidate.