allow psycop2 > 2.5