make python matching version independent