[Not to merge before 2023/06/28] Time to say goodbye to py37
# What does this PR do?

Same as #24075, but that PR got freezed after I force pushed (after rebase), and my changes to address the comments were not able to appear)

----

Byebye!

EOL of python 3.7 is `2023/06/27`.

https://endoflife.date/python



The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_24087). All of your documentation changes will be reflected on that endpoint.