1Heat the oil in a large frying pan over medium heat until shimmering. Add the onions and a pinch of salt and cook over medium heat until translucent, about 4 minutes. Add the ginger, cinnamon, coriander, cumin, cayenne, saffron, and a pinch of pepper and cook until fragrant, about 1 minute.
2Transfer the mixture to a slow cooker, add the potatoes, carrots, parsnips, and broth, season with salt and pepper, and stir to combine. Cover and cook on high for 1 1/2 hours.
3Add the pumpkin or squash, sweet potatoes, chickpeas, and raisins, season with salt, and stir to combine. Cover and continue to cook on high until a knife easily pierces the vegetables, about 2 hours more, stirring after 1 hour. Add the spinach and gently mix (do not overmix). Let sit until wilted. Gently stir in the vinegar, taste, and season with more salt, pepper, and vinegar as needed.