Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

Import display from IPython instead of IPython.core #591

Open
IsraelMiles opened this issue Feb 16, 2022 · 0 comments
Open

Import display from IPython instead of IPython.core #591

IsraelMiles opened this issue Feb 16, 2022 · 0 comments
Labels
Area-Python Issue relates to the Python client for the IQ# kernel. Kind-Maintenance Issue represents work to improve code quality and maintainability.

Comments

@IsraelMiles
Copy link
Contributor

Is your feature request related to a problem? Please describe.
The updates for IPython 7.14 introduced deprecation warnings to import objects from IPython.core.display. This is because many of the objects from core are for internal use only, so display should be imported directly from IPython instead since these warnings will become errors in the future.
Importing display from IPython.core.display is deprecated since IPython 7.14, please import from IPython display

Describe the solution you'd like
We need to import display through IPython instead to avoid future errors.

@cgranade cgranade added Area-Python Issue relates to the Python client for the IQ# kernel. Kind-Maintenance Issue represents work to improve code quality and maintainability. labels Sep 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Area-Python Issue relates to the Python client for the IQ# kernel. Kind-Maintenance Issue represents work to improve code quality and maintainability.
Projects
None yet
Development

No branches or pull requests

2 participants