fix python version check to account for release candidates
fix python version check to account for release candidates

dlorenc/runtimes-common,sharifelgamal/runtimes-common,GoogleCloudPlatform/runtimes-common,GoogleCloudPlatform/runtimes-common,sharifelgamal/runtimes-common,sharifelgamal/runtimes-common,dlorenc/runtimes-common,sharifelgamal/runtimes-common,sharifelgamal/runtimes-common,GoogleCloudPlatform/runtimes-common,sharifelgamal/runtimes-common,sharifelgamal/runtimes-common,dlorenc/runtimes-common