Python 3.7 is past end-of-life, and even 3.8 is pretty outdated. Switch to testing on 3.8 (oldest supported) and 3.12 (current release).
Fixup github actions
Co-authored-by: Florian Pigorsch <florian@concept.de>