Converting py source dist versions to upper() for consistency with java side.

Reviewed at https://reviews.apache.org/r/16741/