pipeline fails with 'cannot import name TypeVarDef'
recently the tox
command and therefore the CI pipeline fails with the following error message
python run-test: commands[0] | mypy demessaging
setup.cfg:74: error: Error importing plugin "pydantic.mypy": cannot import name TypeVarDef
Found 1 error in 1 file (errors prevented further checking)
ERROR: InvocationError for command /builds/digitalearth/dasf-data-analytics-software-framework/dasf-messaging-python/.tox/python/bin/mypy demessaging (exited with code 2)
___________________________________ summary ____________________________________
ERROR: python: commands failed
Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1
this might be related to: https://github.com/samuelcolvin/pydantic/issues/3528
ping @Chilipp