Combine flour, cinnamon, allspice, nutmeg, baking soda, baking powder, and salt. Set aside. In a stand mixer, beat butter until creamy. Add sugars beating until fluffy, approximately 3 minutes. Scrap the bowl as necessary. Beat in pumpkin puree until incorporated. Beat in vanilla and then eggs, one at a time.