cpcloud / ipython-autotime

Time everything in IPython
Apache License 2.0
118 stars 12 forks source link

Incompatibility with ipython 8.17. #24

Closed coady closed 11 months ago

coady commented 11 months ago
IPython 8.17.2 -- An enhanced Interactive Python. Type '?' for help.

In [1]: %load_ext autotime
Error in callback <bound method LineWatcher.stop of <autotime.LineWatcher object at 0x106f3db70>> (for post_run_cell), with arguments args (<ExecutionResult object at 1053ad150, execution_count=1 error_before_exec=None error_in_exec=None info=<ExecutionInfo object at 106c36510, raw_cell="%load_ext autotime" store_history=True silent=False shell_futures=True cell_id=None> result=None>,),kwargs {}:
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
TypeError: LineWatcher.stop() takes 1 positional argument but 2 were given

Looks like the signature for the *_run_cell hooks has changed.

ddelange commented 11 months ago

Ho @coady :wave: thanks for the report!

ddelange commented 11 months ago

0.3.2 is released :+1: