Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CI] The latest mypy fails on current master #5206

Closed
dchigarev opened this issue Nov 8, 2022 · 0 comments · Fixed by #5207
Closed

[CI] The latest mypy fails on current master #5206

dchigarev opened this issue Nov 8, 2022 · 0 comments · Fixed by #5207
Assignees
Labels
CI P1 Important tasks that we should complete soon

Comments

@dchigarev
Copy link
Collaborator

Mypy recently released a new 0.990 version that appears to be failing due to its internal error on modin's master.

$ pip install mypy==0.990
$ mypy --config-file mypy.ini --show-traceback
/localdisk/dchigare/repos/modin/modin/experimental/pandas/numpy_wrap.py:118: 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: 0.990
Traceback (most recent call last):
AssertionError: Error checking function redefinition FuncDef:118

The issue is already reported to mypy python/mypy#14027 but there's yet neither a fix nor an upcoming release to resolve it. So for now we should pin mypy to the lower version in order to make our CI work.

@dchigarev dchigarev added P1 Important tasks that we should complete soon CI labels Nov 8, 2022
@dchigarev dchigarev self-assigned this Nov 8, 2022
dchigarev added a commit to dchigarev/modin that referenced this issue Nov 8, 2022
Signed-off-by: Dmitry Chigarev <dmitry.chigarev@intel.com>
mvashishtha pushed a commit that referenced this issue Nov 8, 2022
Signed-off-by: Dmitry Chigarev <dmitry.chigarev@intel.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI P1 Important tasks that we should complete soon
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant