Closed tjni closed 1 year ago
Sorry, forgot about this.
Not sure why 3.7 does not work, but given mypy just dropped support for 3.7, we will as well.
No apology needed. I tried reproducing the failure on Python 3.7 (granted, on macOS) and couldn't, so I am also not sure what happened during that run. Since we are dropping Python 3.7 support, I'll let it be for now. Thank you!
There is a sequence of events:
dmypy
, a daemon process is forked.test_dmypy_status_file
runs (anddmypy
is not in PATH), this daemon is started from the test process.pytest
is run and completes, there is a danglingpytest
process which is running the daemon.pytest
is run by the nix package manager, I observe the package manager waiting forever for this dangling process to complete.This commit does a best effort cleanup of the
dmypy
daemon before the test is completed.