My project fails with mypy 1.11.0, but works with 1.10.1.
$ mypy . --show-traceback
roboflow-python/lib/python3.11/site-packages/cv2/mat_wrapper/__init__.py:9: error: INTERNAL ERROR -- Please try using mypy master on GitHub:
https://mypy.readthedocs.io/en/stable/common_issues.html#using-a-development-mypy-build
Please report a bug at https://github.com/python/mypy/issues
version: 1.11.0
Traceback (most recent call last):
File "mypy/checkexpr.py", line 5830, in accept
File "mypy/nodes.py", line 2028, in accept
File "mypy/checkexpr.py", line 4270, in visit_index_expr
File "mypy/checkexpr.py", line 4286, in visit_index_expr_helper
File "mypy/checkexpr.py", line 4345, in visit_index_with_type
File "mypy/checkexpr.py", line 5863, in named_type
File "mypy/checker.py", line 6924, in named_type
File "mypy/checker.py", line 7048, in lookup_qualified
KeyError: "Failed qualified lookup: 'GenericAlias' (fullname = 'types.GenericAlias')."
roboflow-python/lib/python3.11/site-packages/cv2/mat_wrapper/__init__.py:9: : note: use --pdb to drop into pdb
I reproduced local too, just run mypy on my project.
Crash Report
My project fails with mypy 1.11.0, but works with 1.10.1.
It is open source, you can check the job failing here.
Traceback
To Reproduce
I reproduced local too, just run mypy on my project.