MAINT: use a more standard python version compatibility preamble