-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
CIContinuous Integration toolsContinuous Integration tools
Description
What is your issue?
The explicit mypy tests introduced in #10038 seem to be quite fragile, e.g., they are currently broken at head and I know have been broken at head previously at least once. In neither case was there a real regression.
I see at least three issues with them:
- They seem to be particularly prone to version skew issues where they fail on GitHub but pass locally due to slight differences in environments. I think the current failure is due to mis-matched NumPy versions. (This might be improved when we switch to pixi.)
- They are really slow. Testing ~40 specific errors takes ~9 minutes on a single GitHub CI worker, which is not a great use of CI resources and clearly not scalable. Currently we use two CI workers just to test typing for the
pipemethod! - They are inherently very fragile, checking for exact messages printed by mypy. Pretty much any package update causes error messages to change, which means these tests break, whether or not there is a real underlying issue.
Metadata
Metadata
Assignees
Labels
CIContinuous Integration toolsContinuous Integration tools