make test-cov is not at 100% on Python>=3.11 when executed locally.
Nothing is wrong with the pipeline as it is still using Python 3.9 but it is a minor incovenience during development.
It is due to the fact that the handling of typing.Any becomes unnecessary with this change in cpython: python/cpython#88690
This PR resolves this situation by adding a quick UT that is not so useful for Python<3.11 but covers that specific try - except block.
We may (or may not) also add support for Python>=3.11 in the coverage pipeline, in this PR or another one.
make test-cov
is not at 100% on Python>=3.11 when executed locally. Nothing is wrong with the pipeline as it is still using Python 3.9 but it is a minor incovenience during development.It is due to the fact that the handling of
typing.Any
becomes unnecessary with this change in cpython: python/cpython#88690This PR resolves this situation by adding a quick UT that is not so useful for Python<3.11 but covers that specific
try
-except
block.We may (or may not) also add support for Python>=3.11 in the coverage pipeline, in this PR or another one.