-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature #32: Available Halo in jupyter notebook #40
Conversation
Signed-off-by: jungwinter <[email protected]>
Signed-off-by: jungwinter <[email protected]>
@manrajgrover Isn't any update here? |
@jungwinter I had faced the similar issue in lint but I thought it was fixed. It was because of some compatibility issue between Python2.7 and Python3.6. Looks like I would need to do a little debugging on it. See if you can reproduce the error on Python2.7. The initial code looks great. I just tested it locally and it seems to work. I still need a little more time for reviewing the code though. Thanks for working on this. 😄 💯 |
Regarding |
@manrajgrover Thanks for the comment. I'll try to add tests for |
Signed-off-by: jungwinter <[email protected]> Before, the initializing position was in the `stop_and_persist` function. So we could not initialize `Output` widget with `stop` function. After Changing position to `start` function, we can expect more consistent behavior.
@manrajgrover How about this way when testing |
@jungwinter Just to let you know, I'm reviewing this in parts and that currently, this looks great. Regarding testing the code, is there any other way to get the output that is being rendered? Because currently, this only tests the output of the code and not what is being rendered. |
@manrajgrover Thanks for reviewing! As I know, this is the only way to test the output of |
@manrajgrover Isn't any update here? |
@jungwinter This is on high priority for me and I'll definitely finish reviewing and merging ASAP. Really sorry for the delay. Thanks for pinging. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jungwinter Thank you so much for working on this and for your patience! 💯 I'm merging this as is since I have plans to revamp the code (especially threading, unicode issues and exception handlings). If I find a better way to test notebooks, I'll update the test cases. Great work! 😄
Description of new feature
Now, Halo in
jupyter notebook
is available by implementingIPython widget
. If you want, test manually on.ipynb
(require download).Checklist
Opinion
I tried to find the way that can test
IPython widget
in unittest. I searched thetqdm
, but they skip tests related withtqdm_notebook
. So in this PR, I excludehalo_notebook.py
from coverage by modifying.coveragerc
file. And linting test isn't still working on my machine. :(I have no experience with Python packaging, so I'm not sure it's ok to add dependency about
ipywidgets
. Please tell me what to do.Related Issues and Discussions
Discuss on #32
People to notify
@manrajgrover