Update required Python minor
The current Python version we require is >= 3.7
.
With the in !155 (merged) introduced match
-statement we need at least >= 3.10
(see https://docs.python.org/3/reference/compound_stmts.html#match).
Should be update the minimal Python version or change to code?