Well said BigInch
Worked for a pump company for a lot of years, both in design and test departments. For typical flows, the temperature rise in the pumped fluid is typically a degree or so.
It's easy to do the math. Take the entire losses and divide by the flowrate knowing the heat capacity of the water. Even at flow turndowns of 5 or so, one usually finds that the temperature rise is small.
As for mechanical losses, Stepanoff, in his classic "Centrifugal and Axial Flow Pumps" (2nd Ed. published 1957 and still in print) talks of a study done "recently" at then Ingersoll Rand. Total mechanical losses, mostly bearing and stuffingbox, are typically in the 1% or less range. And remember that stuffingbox losses transfer much of their waste heat to the water -- not the surrounding air.