Ned Batchelder
Ned Batchelder
"Source file no longer available. Was executed at ..." ?
In commit dfdef057915e573d9090530cab38b801e72ca36d, I added a link to a new documentation page: https://coverage.readthedocs.io/en/latest/messages.html#error-no-source
This is now released as part of [coverage 7.10.7](https://pypi.org/project/coverage/7.10.7).
I believe this is due to runserver using subprocesses. I thought there were existing issues with the same problem, but I can't seem to find them.
Can you provide a way for me to reproduce the issue? One possibility is to try the new `patch = subprocess` feature to see if it helps.
This is because mypy does something unusual. In some error paths, they use their `util.hard_exit` function: ```python def hard_exit(status: int = 0) -> None: """Kill the current process without fully...
In commit 44a309f9c8aeb140b64aa45453e0595a85c5c9f9, I added a new configuration setting, `[run] patch` that you can use to fix `os._exit()`. Add this to you .coveragerc (or other configuration file), and the coverage...
This is now released as part of [coverage 7.10.0](https://pypi.org/project/coverage/7.10.0).
Oops, sorry, `--sort=name` sorts the default way. It would still be good to explain the order.
I had been using deadsnakes for nightly builds, but it wasn't always available in a timely way and I couldn't understand their build process. I ended up using pyenv in...