Fix pre-commit cache key to include full Python version as per https://github.com/pre-commit/pre-commit/issues/1575#issuecomment-678792700 and https://pre-commit.com/#github-actions-example
The next major release will depend on the next major releases of all the other libraries, which is equivalent to devel right now.