[core] Remove python 2.4 and 2.5 from python selection