Skip to content

TST: Bump mypy from 0.931 to 0.940#21180

Merged
charris merged 3 commits intonumpy:mainfrom
BvB93:mypy
Mar 13, 2022
Merged

TST: Bump mypy from 0.931 to 0.940#21180
charris merged 3 commits intonumpy:mainfrom
BvB93:mypy

Conversation

@BvB93
Copy link
Copy Markdown
Member

@BvB93 BvB93 commented Mar 11, 2022

Use the new mypy 0.940 release when running tests.

There are two notable changes that require an update of the test suite:

  • The repr from homogenous tuples was changed from tuple[Any] to tuple[Any, ...].
  • iter can now return actual Iterator[Any] subclasses, rather than just subtypes.

@BvB93 BvB93 added this to the 1.22.4 release milestone Mar 11, 2022
@BvB93 BvB93 marked this pull request as draft March 11, 2022 18:35
@BvB93
Copy link
Copy Markdown
Member Author

BvB93 commented Mar 11, 2022

Ah mypy 0.940 is not available on conda-forge yet; marking as draft for the time being.

@BvB93 BvB93 closed this Mar 13, 2022
@BvB93 BvB93 reopened this Mar 13, 2022
@BvB93 BvB93 marked this pull request as ready for review March 13, 2022 21:29
@charris charris merged commit 2e2c4c2 into numpy:main Mar 13, 2022
@charris
Copy link
Copy Markdown
Member

charris commented Mar 13, 2022

Thanks Bas. Travis is causing problems, I'm ignoring it for the moment.

@charris charris removed the 09 - Backport-Candidate PRs tagged should be backported label Mar 13, 2022
@charris charris removed this from the 1.22.4 release milestone Mar 13, 2022
@BvB93 BvB93 deleted the mypy branch May 3, 2022 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants