Only kill children in process group at shutdown#874
Conversation
- not the whole process group, which includes self and possibly parents - not children which have started their own process groups
|
One question here: this cleanup logic depends on psutil, but I haven't made psutil a hard dependency. So we have a choice:
|
|
Previous PR made is a dependency on windows, so I think we can make it a hard dep. |
now needed for cleanup on all platforms, as well as usage_requests
|
Now requires psutil, removing conditions for handling its absence |
Moving _is_debugpy_available to .debugger to avoid having import that much of the package on wheel building. In particular this was forcing `psutil` to be importable to build this package
Moving Line 71 in 78c83ad which is needed on all platform to honor the ipykernel/ipykernel/kernelbase.py Lines 896 to 901 in 78c83ad Any particular reason to restrict |
Well originally it was because killpg is not avail on windows, I guess it was not added as a dep when |
|
Ok, It seem we are all in agreement, merging. |
killpg), which includes kernel itself and possibly parents (closes ipyparallel downstream test broken #872)closes #873