Pansy (Viola x wittrockiana) grown as a cool-season annual does not bloom or grow well in hot weather, but Pansy is bred from perennial ancestors and there is possibility of survival through Summer until Fall. Keep the plants in a part sun situation through the Summer months. Morning sun would be best to reduce heat stress. You could pot them in one gallon containers during this time to establish a large root system and then plant out as Fall approaches. This might be best as you could also temporaily move them into more shade during the hottest weather. Pansy is also somewhat frost-tolerant and survives through mild winters, though this is not so assured in a climate as cold as Chicago.