Heat olive oil in a large pot over medium heat. Add onion and garlic, sauté for 2–3 minutes until fragrant and soft.
Stir in pumpkin cubes (or puree), smoked paprika, chili flakes, thyme, sage, salt, and black pepper. Cook for 2–3 minutes to coat well in the seasonings.
Pour in vegetable stock and bring to a gentle boil. Cover and simmer for 10–12 minutes, or until the pumpkin is tender.
Use an immersion blender (or transfer to a blender) and blend until smooth and creamy.
Return the soup to medium heat, add the gnocchi, and cook for 3–4 minutes. Stir in baby spinach until wilted.
Finish with grated Parmesan and adjust seasoning to taste.
Video
Notes
You can roast the pumpkin first for an even deeper flavor.
Adjust spice level to your liking — start with less chili flakes and smoked paprika and build up.
For extra creaminess, add a splash of cream or coconut milk before serving.