You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When upgrading to 7.4.9 to 8.1.0, the timeout parameter no longer works with papermill + a custom KernelManager.
Example notebook, example_slow.ipynb:
from time import sleep
sleep(10)
Executing with papermill:
import papermill as pm
pm.execute_notebook("example_slow.ipynb", "example_slow.out.ipynb", timeout=1, kernel_manager_class="jupyter_client.manager.KernelManager")
With 7.4.9 this correctly raises CellTimeoutError. With 8.1.0 the notebook runs to completion (in 10 seconds). Oddly, if I don't use a custom manager class, it also errors correctly. I need a custom manager given #154 (comment).
Is this a bug in this package or should how timeout is used be changed in papermill?
The text was updated successfully, but these errors were encountered:
When upgrading to 7.4.9 to 8.1.0, the timeout parameter no longer works with papermill + a custom
KernelManager
.Example notebook,
example_slow.ipynb
:Executing with papermill:
With 7.4.9 this correctly raises
CellTimeoutError
. With 8.1.0 the notebook runs to completion (in 10 seconds). Oddly, if I don't use a custom manager class, it also errors correctly. I need a custom manager given #154 (comment).Is this a bug in this package or should how timeout is used be changed in papermill?
The text was updated successfully, but these errors were encountered: