It's a myth that people can't ride bikes in cities that experience exceptionally hot or cold weather. They can, and do, it's just that the cities need to fund infrastructure to make those things more comfortable and enticing.
For heat specifically, you need trees covering sidewalks and bike paths. Also the materials you build sidewalks and structures with contribute to this, and if you can then adding some evaporative cooling via fountains or ponds is a great idea too. For more ideas: https://www.epa.gov/heatislands/heat-island-cooling-strategi...
The heat island effect is real, and it's only going to get much much worse in cities that refuse to work to fix it.