Currently our minimum supported Python version is 3.8. However, 3.8 has been end of lifed. We should increase the minimum version to 3.9, or perhaps even 3.10 given that support for 3.9 ends in October.
All of the recent versions of pre-commit require 3.9+, so this came up when I was testing Copilot's fix in #95.