Unless a challenge specifically requires that you get a particular EP, you shouldn't have to buy one. You don't need Pets for this challenge, nor did you need it for the first two.
Actually, I've been wondering if Generations has to be necessary for this challenge, if someone agrees to wait until a Sim has 45000 happiness points before adopting. That player would be at a disadvantage with regard to inherited traits, of course.