France braced for another heat wave on Wednesday, with Paris allowing swimming in one of its canals so residents could cope with the heat.

It will be the second spell of hot temperatures this year, after an unusually scorching week in May smashed records in half of the country.

"A heatwave episode will gradually set in across the country this week," said Christelle Robert, of national weather service Météo-France.

Temperatures were set to reach 36C or 37C in some areas on Wednesday, then peak at 40C in some regions on Sunday as the country celebrates summer solstice with its annual nationwide music festival, La Fête de la Musique.

READ ALSO: Which will be the hottest areas of France this week?