[build] purge.py: fix Python version requirements