Fix support for IPython 8 and 9#959
Merged
devstein merged 2 commits intojupyter-incubator:masterfrom May 28, 2025
Merged
Conversation
`IPython.core.display.display` was removed in IPython 8.0.0. Update the reference to support modern IPython versions. Closes jupyter-incubator#957
Contributor
Author
|
@devstein Looks like release 4.1.2 |
The public API for display tools in IPython was added in release 4.1.2. Rather than depending on the now-deprecated internal location of those tools, we'll advance the minimum IPython by a minor version.
Contributor
Author
|
I've adjusted the required IPython version and added a Changelog entry since this now introduces an external-facing change. |
display call
Collaborator
|
Perfect - thank you @ddrinka! I can do a release after merging |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
A public API for
IPython.displaywas introduced inipython==4.1.2. Access to the tool via the internal API was deprecated in 7.14, warned against through 8.*, and removed in 9.0.With this change, hdijupyterutils targets the public API which enables support for the most recent versions of IPython, but requires a minor version change for the minimum required version.
Closes #957