Skip to content

Partially support old NumPy plugin in parallel type checking#21324

Merged
ilevkivskyi merged 2 commits intopython:masterfrom
ilevkivskyi:unbreak-numpy-parallel
Apr 25, 2026
Merged

Partially support old NumPy plugin in parallel type checking#21324
ilevkivskyi merged 2 commits intopython:masterfrom
ilevkivskyi:unbreak-numpy-parallel

Conversation

@ilevkivskyi
Copy link
Copy Markdown
Member

Ref #21323

IIUC this will not fix the plugin completely unless we also call get_additional_deps() in the workers (which would be weird IMO). But most importantly the plugin will not crash unconditionally like now, but will infer less precise types.

cc @JukkaL

@github-actions
Copy link
Copy Markdown
Contributor

According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅

Copy link
Copy Markdown
Collaborator

@JukkaL JukkaL left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is fine as a quick workaround.

@ilevkivskyi ilevkivskyi merged commit 52a1c48 into python:master Apr 25, 2026
24 checks passed
@ilevkivskyi ilevkivskyi deleted the unbreak-numpy-parallel branch April 25, 2026 13:41
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.

2 participants