manrajgrover / halo

💫 Beautiful spinners for terminal, IPython and Jupyter
MIT License
2.86k stars 148 forks source link

BUG: Halo.__init__.<locals>.clean_up() takes 0 positional arguments but 1 was given #179

Closed guigoruiz1 closed 2 weeks ago

guigoruiz1 commented 8 months ago

Description

Using ipython>8.16.1, every jupyter notebook cell containing a Halo spinner returns the error Halo.__init__.<locals>.clean_up() takes 0 positional arguments but 1 was given. Apparently the newer versions of ipython are returning an argument to the clean_up() method.

This pull request seems to be the culprit.

System settings

Error

Halo.__init__.<locals>.clean_up() takes 0 positional arguments but 1 was given

Expected behaviour

Halo clean_up() method should accept an argument.

Steps to recreate

Upgrade ipython to the latest version

People to notify

@manrajgrover

anand-kamble commented 1 month ago

Any updates on this issue? I am getting the same error with IPython v8.24.0.

rjacrod commented 2 weeks ago

Same here.

manrajgrover commented 2 weeks ago

Thank you for reporting the issue, and my sincere apologies for the delay. The project requires a lot of housekeeping, given a lot has changed in terms of the latest Python releases and CI/CD changes. The fix for this issue has been merged and a release will be made soon.