Preheat the oven to 350°F and line a 12-tin cupcake pan with liners.
In a medium sized bowl, whisk together the flour, baking powder, baking soda, ground ginger, cinnamon, nutmeg, cloves, allspice, and salt. Set this aside for now.
In a separate, larger bowl (it can be the bowl of a stand mixer or just a large mixing bowl), beat together the oil, sugars, egg, molasses, and vanilla until combined. Then add the milk and pumpkin and continue beating until smooth.
Add the dry ingredients into your large bowl of wet ingredients. Fold everything together until just combined (no more streaks of white flour). Make sure to not overwork the batter.
Use a cookie dough or ice cream scoop to spoon an equal amount of the batter into each cupcake tin.
Bake for 22-25 minutes. The cupcakes will be ready when a toothpick comes out clean and the tops spring back when you gently press them.
Let the cupcakes cool for 5 minutes in the pan before transferring to a wire rack to cool completely.