The following depreciation warning interrupts the kernel, which is not supposed to be the case for the kernel to be interrupted.
Considering the whole workbook we can point out that the first use of cross_validation module did not trigger any warnings and therefore the workflow was not interrupted
To be more precise, by “interrupt” in this case I mean that the sell could not proceed after the line, which triggered the warning (we can see it by no message printed after the warning appeared)
The following sell successfully completed though (the file was created)