You can renew your passport up to 9 months before it expires, so you're cutting it fine on whether you can get the application in and your passport back before you travel.
Some airlines require a passport number when you book as well, so take that into consideration.