Here is a pic of a panel I recently saw. The sump pit is more than 36" from the wall, but that discharge pipe does cross the required 'working space:'

[Linked Image from electrical-photos.com]

Some might argue that having the pipe there is a good thing, as it will discourage folks from stacking stuff in front of the panel. Others might see the pit as blocking access to the panel. (FWIW, you can NOT stand on that pit cover). What say you?