Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The version of ipykernel installed in the user venv should match the version used by Mu #2550

Open
carlosperate opened this issue Feb 18, 2025 · 0 comments
Milestone

Comments

@carlosperate
Copy link
Member

Right now it's manually set up, and overtime it could install a version with some kind of incompability:

mu/mu/wheels/__init__.py

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.

@carlosperate carlosperate added this to the Final release milestone Feb 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant