This repository was archived by the owner on Aug 31, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 447
The version of ipykernel
installed in the user venv should match the version used by Mu #2550
Copy link
Copy link
Open
Milestone
Description
Right now it's manually set up, and overtime it could install a version with some kind of incompability:
Lines 39 to 57 in 563cb86
mode_packages = [ | |
# pygame is a pgzero dependency, but there is currently an issue where | |
# pygame versions >=2.1.3 have issues in macOS 10.x, so temporarily for | |
# Mu release 1.2.1 pin the max version here | |
# https://github.com/mu-editor/mu/issues/2423 | |
("pgzero", ("pgzero>=1.2.1", "pygame<2.1.3")), | |
# Lock Werkzeug to < 3.0.0: import flask fails, otherwise. | |
("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 | |
# FIXME: ipykernel max ver added for macOS 10.13 compatibility, min taken | |
# from qtconsole 4.7.7. This is mirrored in setup.py | |
("ipykernel", ("ipykernel>=4.1,<6",)), | |
# FIXME: ipykernel<6 depends on ipython_genutils, but it isn't explicitly | |
# declared as a dependency. It also depends on traitlets, which | |
# incidentally brought ipython_genutils, but in v5.1 it was dropped, so as | |
# a workaround we need to manually specify it here | |
("ipython_genutils", ("ipython_genutils>=0.2.0",)), | |
] |
Mu could instead figure out the exact version it has installed, and install the same.
Metadata
Metadata
Assignees
Labels
No labels