In the bowl of a stand mixer
fitted with a paddle attachment, beat the butter and sugar on medium speed until combined and creamy, about 1 minute. Add the eggs and vanilla and beat on low until combined, about 30 seconds. Beat in the pumpkin on low until just combined. Add the flour and pulse the mixer until half of the flour is mixed in. Increase the speed to low and mix until just combined.