Generalize Python version requirement.