In #231 I need to make use to of typing definitions added only in Python 3.10, thus making typing-extensions a requirement for most of the supported Python version. It is quite annoying to have an extra dependency only for type checking. I think the dependency should be made a test only dependency.