Spray saucepan with cooking spray and heat pan.
Add onions, garlic, and fennel seeds.
Cook and stir for 3 minutes, or until onions are soft.
Combine flour, milk, salt and pepper; stir until smooth. Add to saucepan.
Bring to a boil and cook until mixture begins to thicken.
Add pumpkin and Parmesan cheese and reduce heat to low. Continue cooking and stirring for 3 more minutes.