Voting in the race to replace Jeremy Corbyn as Labour chief has finished ahead of a new leader of the party being announced at the weekend.