Skip to content

fix mypy requirement at 0.910, for compatibility#5737

Closed
jepler wants to merge 1 commit into
adafruit:7.1.xfrom
jepler:fix-mypy-requirement
Closed

fix mypy requirement at 0.910, for compatibility#5737
jepler wants to merge 1 commit into
adafruit:7.1.xfrom
jepler:fix-mypy-requirement

Conversation

@jepler
Copy link
Copy Markdown

@jepler jepler commented Dec 17, 2021

This should fix the doc build, which currently fails

ulab/numpy/__init__.pyi:51: error: Cannot assign multiple types to name "_float" without an explicit "Type[...]" annotation
ulab/numpy/__init__.pyi:54: error: Cannot assign multiple types to name "_bool" without an explicit "Type[...]" annotation

since mypy 0.920 was released.

After

or another fix is merged and our submodule ref is updated, we can un-pin mypy. However, as we may not want to change the version of ulab in 7.1.x right now, this workaround may be preferable.

@jepler
Copy link
Copy Markdown
Author

jepler commented Dec 17, 2021

Looks like we'll want to take #5740 instead.

@jepler jepler closed this Dec 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant