Uh oh!
There was an error while loading. Please reload this page.
pyautogui: just skip stubtest - #8678
Conversation
This comment has been minimized.
This comment has been minimized.
According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉 |
JelleZijlstra
left a comment
There was a problem hiding this comment.
I looked into whether we could fudge this with environment variables, but it really does need an actual display it can talk to at import time.
(Also, remind me not to try to install pyautogui on a Mac, it installs like 100 dependencies.)
Akuli
commented
Sep 4, 2022
We could use |
AlexWaygood
commented
Sep 4, 2022
Interesting. Would this slow down running stubtest at all? Would there be a way of specifying in |
Akuli
commented
Sep 4, 2022
It would slow starting stubtest, but only by about 300ms: Once stubtest is running, it has a |
AlexWaygood
commented
Sep 4, 2022
Sounds great to me, in that case! |
Could we maybe unskip stubtesting typeshed/stubs/pynput/METADATA.toml Line 4 in 8e4b89a |
AlexWaygood
commented
Sep 8, 2022
@Akuli, could you work up a PR for this? (GitHub Actions are... not my strong suit.) |
Akuli
commented
Sep 8, 2022
Sure. I'll probably get it done during this weekend :) |
I realised immediately after merging the pyautogui PR that there's not much point running stubtest on this package, since stubtest isn't able to import any of PyAutoGUI without access to a display screen