Skip to content
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

BLD: promote ipywidget to a hard dependency #4155

Merged
merged 1 commit into from
Oct 10, 2022

Conversation

neutrinoceros
Copy link
Member

PR Summary

Closes #4154

@neutrinoceros neutrinoceros added bug infrastructure Related to CI, versioning, websites, organizational issues, etc labels Oct 8, 2022
@neutrinoceros neutrinoceros added this to the 4.1.1 milestone Oct 8, 2022
@neutrinoceros
Copy link
Member Author

Note that this leaves #4054 unresolved. The core issue is that we do not distinguish between running within IPython and Jupyter Notebook/Lab
ATM I'm not sure there's a supported way to make this distinction at run time.

@neutrinoceros
Copy link
Member Author

Turns out @cphyc 's previous inquiry already contains the solution to the core problem #4054 (comment)

I think this PR may be a correct first step towards resolution of #4054 too, as long as we require ipywidget>=8.0.0

@neutrinoceros
Copy link
Member Author

Actually, it may not even be necessary to require ipywidget since _repr_mimebundle_ actually returns a value, that we can customise at runtime depending on availability.

@neutrinoceros neutrinoceros marked this pull request as ready for review October 8, 2022 13:26
@cphyc cphyc merged commit 66d6f5b into yt-project:main Oct 10, 2022
1 check passed
meeseeksmachine pushed a commit to meeseeksmachine/yt that referenced this pull request Oct 10, 2022
@neutrinoceros neutrinoceros deleted the hotfix_4154 branch October 10, 2022 11:47
@neutrinoceros neutrinoceros added dependencies Pull requests that update a dependency file and removed infrastructure Related to CI, versioning, websites, organizational issues, etc labels Jul 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: __repr__ crashes in IPython if ipywidget isn't installed
2 participants