Update embedding examples
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
Research direction
Start by reading examples/embedding/internal_ipkernel.py and examples/embedding/ipkernel_qtapp.py, then compare their imports and connect calls with current ipykernel and qtpy usage. Update the examples to support the listed Qt bindings and current connect_qtconsole API, and verify that both examples run with the supported combinations.
Written by the indexing model from the issue text.
Description
The internal_ipkernel.py and ipkernel_qtapp.py are out of date. Some issues:
- It is using
PyQt4, which is very old, and not supported on some platforms (e.g.osx-arm64) - Explicit use of PyQt means it doesn't work with PySide. Should use qtpy so it will work with Pyside2/6 or PyQt5/6.
- This line:
from IPython.lib.kernel import connect_qtconsolefails on recent ipythons. I think the replacement isfrom ipykernel import connect_qtconsole. See https://github.com/ipython/ipython/issues/13610 - The
connectcalls also would need to be updated (I think those are the old style signals).
- Dominant language
- Python
- Stars
- 734
- Forks
- 411
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 9
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ipython/ipykernel
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
-
Difficulty 4/5 3-5 days Newbie friendliness 68/100
-
ipython/ipykernel#1550 · 1 comment · 1 reaction · 1 assignee ·
-
Difficulty 3/5 1-2 days Newbie friendliness 66/100
All issues in ipython/ipykernel
Similar issues
-
Add: hunch Open
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
AbdelStark/awesome-typesafe#104 ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
DiamondLightSource/dodal#2211 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
openml/openml-python#1749 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
sipyourdrink-ltd/bernstein#6191 ·