3.10 seems to be parsed as 3.1, remove it for now.
Update supported python versions.
Requires a secret named PYPI_TOKEN containing a valid PyPI API token. Note that this drop support for Python 2.6 as GitHub Actions only supports Python 2.7+. Fixes #2116