For the filling, cut the pumpkin in half, scoop out the seeds, then arrange it on a roasting tray.
Bake at 200 degrees Celsius (390 degrees Fahrenheit) until the flesh it soft.
Scoop out the flesh from the pumpkin, add it to a bowl, then use a fork to mash it well.
Mix in the sugar and cinnamon and allow to cool completely.
To make the crust, beat the eggs with the sugar until the mixture doubles its volume and has a pale yellow colour.
Pour in the milk and oil, and mix again.
In a large bowl, mix the flour, bicarbonate of soda and salt, then add them to the wet ingredients.
Use your hands to work the dough until soft and no longer sticky.
Shape it into 2 balls, then roll the first one so that it can cover the bottom of a baking pan that had been oiled and floured ( I used a large rectangle baking tray).
Sprinkle one teaspoon of semolina over the bottom dough sheet, then spread the filling evenly, sprinkle one more teaspoon of semolina over it, and top it with the second dough sheet.
Beat the egg and brush it over the pie.
Bake in the preheated oven at 180 degrees Celsius (350 degrees Fahrenheit) until golden, depending on your oven it might take about 25 minutes, but do check the oven regularly.
Allow it to cool and sprinkle powdered sugar over it.