Ms McAlpine highlighted research by Dog’s Trust which shows that many people believe it is fine to leave a dog in a hot car if counter-measures are taken, such as leaving a window open or parking under a tree.
In fact, under 20 minutes in a hot car can prove fatal to a dog, should its body exceed 41°C.
The SNP MSP for South Scotland warned that even on wet or cooler days, leaving a pet in the car can be dangerous.
📣 @JohnSwinney: "If you compare education today to when we came into office, we've made good progress on that journey - but there's still work to be done, and tomorrow as we launch our manifesto, we'll set out some further steps we'll take on closing the attainment gap." #bbcdn
📺 Watch @JohnSwinney live on tonight's #bbcdn education special.
⏰ Tune in now: https://www.bbc.co.uk/iplayer/live/bbcscotland