Vegan pumpkin soup

The Ingredients that we will use: 1 medium pumpkin or large squash (about 1½kg) 1 tbsp rapeseed oil ½ tsp ground allspice 1 large onion, finely chopped