Upgrading from Python 3.7 to 3.9

Gotcha. We also depend on a large number of other packages so our dependency trees are quite tightly knit but I will do my best to upgrade to a newer version.

Thank you!