Preheat the oven to 350°F (180°C) and grease a 9-inch (23 cm) round cake or pie tin.
Peel the pumpkin and grate it finely.
Blend the banana and pitted dates until completely smooth.
Combine the grated pumpkin, date-banana purée, almond flour, spices and vegetable oil in a large bowl, mixing to a thick, even batter (add a little more almond flour if the pumpkin is very juicy).
Spread the batter evenly in the prepared tin and smooth the top.
Bake for about 40 minutes, until the top is golden and firm to the touch.
Cool completely before slicing - the pie sets as it cools.