You should always avoid planting root crops such as beets, potatoes, onions, etc., as they disturb the sensitive pumpkin roots. However, pumpkins are huge fans of certain herbs and flowers like mint, lavender, and thyme as they attract beneficial insects.