Skip to content

Commit

Permalink
Try to fix ipython.
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosperate committed Feb 17, 2025
1 parent 9a0f269 commit f2bac8a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 1 addition & 3 deletions mu/wheels/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,7 @@ class WheelsBuildError(WheelsError):
("flask", ("flask==2.0.3", "Werkzeug<3.0.0")),
# The version of ipykernel here should match to the version used by
# qtconsole at the version specified in setup.py
# ipykernel max ver added for macOS 10.13 compatibility, min taken
# from setup.py. This is version has to mirror the one from setup.py
("ipykernel", ("ipykernel>=5.5.6,<6",)),
("ipykernel", ("ipykernel>=5.5.6",)),
]


Expand Down
10 changes: 6 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,13 @@
# FIXME: Needed for qtconsole, this is the latest wheel in armv7l for
# Python 3.7 (Buster), otherwise it tries to build from source and fails.
"pyzmq<=26.0.3",
# ipykernel has to be < v6 for macOS 10.13 compatibility (v6 depends on
# debugpy package), v5.5.6 resolves issue ipython/ipykernel#759.
# Full line can be removed after Mu v1.3 release as PyQt6 drops old macOS.
# We are using an internal method of jupyter_client, that changed in v7
# QtKernelManager._launch_kernel() returning a KernelProvisionerBase
# https://github.com/jupyter/jupyter_client/commit/516d9df270b2e4603ee0ecd986554cb5fe1c2940
"jupyter-client<7",
# ipykernel v5.5.6 resolves issue ipython/ipykernel#759.
# ipykernel version has to be mirrored in mu/wheels/__init__.py
"ipykernel>=5.5.6,<6",
"ipykernel>=5.5.6",
"qtconsole~=5.4",
# In Python 3.12 the deprecated 'imp' module was removed from the stdlib.
# ipykernel only moved to importlib in v6.10, so this is a "forward-port"
Expand Down

0 comments on commit f2bac8a

Please sign in to comment.