[1.5.x] Fixed #20615 -- Added trove classifiers for major Python versions.

Backport of efe6e160.