If you are using pecans in the pastry, place them in a food processor and pulse until very finely chopped, be careful not to go too far or you will end up with nut butter. Skip this step if you are using ground almonds or extra flour.
Add the flour, icing sugar and salt (and ground almonds if not using pecans) and pulse to combine then add the cold, cubed butter and blitz until no large lumps of better remain. If you are not using pecans you can rub the butter into the dry ingredients by hand if you don't have a food processor.
Add the cold vodka or water and mix until the pastry clumps together. You may or may not need to add a drop more water. Shape the pastry into a disc, wrap and refrigerate for at least an hour until firm enough to roll out.
While the pastry is chilling, prepare the sweet potatoes. Heat the oven to 200℃/180℃ fan/400℉/gas mark 6.
Pierce each sweet potato several times with a knife. Place on a baking sheet and bake for about 1 hour, until the potatoes are tender all the way through when pierced with a knife. Remove from the oven and let cool enough to handle.
Turn the oven down to 180℃/160℃ fan/350℉/gas mark 4.
Roll the pastry out between two sheets of baking paper or on a floured surface until big enough to line a 23 cm/9 in round pie dish. Carefully transfer the pastry to the dish and press it into the corners. Crimp and trim the edges of the pastry and prick the base all over with a fork then place it in the freezer for 20 minutes until solid.
Line the chilled pastry case with baking parchment, pressing it right into the corners, then fill with baking beans or dried rice, making sure that the sides are propped up.
Bake for 20 minutes then remove the tin foil and baking beans and return the tart shell to the oven for a further 5-10 minutes until just browned.
Meanwhile, peel the baked sweet potatoes and weigh out 450g of flesh. Place the sweet potato flesh in a blender along with the silken tofu, milk, sugar, maple syrup, melted butter, cornstarch, spices, vanilla extract and salt and blend until smooth.
Pour the filling into the pastry case. Cover the exposed edges of the pastry with strips of folded tin foil so that it doesn't catch in the oven (image in blog post).
Bake the pie for 35-45 minutes until the filling is set but still has a slight jiggle in the centre.
Leave to cool to room temperature before refrigerating.