-
-
Notifications
You must be signed in to change notification settings - Fork 401
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
ipython 8.19.0 breaks sagemath, making it unusable #36975
Comments
They also dropped Python 3.9 IIRC, so we won't merge it soon |
But we should add an install-requires upper bound |
Upstream is aware of the issue and will fix it in an upcoming 8.19.1. Better to only skip 8.19.0. See: ipython/ipython#14223 (comment) |
@antonio-rojas it might be the case that sagemath is currently broken on arch (?) |
Yes, sagemath is currently broken on arch (which is why I'm lurking here!). |
The patch I linked above is safe and works fine (it's what we are shipping on void linux). Or else wait a few days for upstream to release 8.19.1 and arch to ship it (or downgrade ipython to 8.18 if that's possible). |
8.20 published with a fix and 8.19 yanked. Apologies again for the breakage. |
I've just discovered this when experimenting with Sage in the console - using a fairly recently upgraded (4 days ago) Arch linux. Thanks for the fix - I've just seen that ipython is indeed upgradeable via pacman, so I'll do another system upgrade. |
Adding a lightweight test with SageMath using the modularized distribution https://pypi.org/project/sagemath-repl/ of the Sage library. Motivated by sagemath/sage#36975, #14223 (comment), sagemath/sage#36993, sagemath/sage#37031 @Carreau
As 8.19.0 has been yanked - https://pypi.org/project/ipython/#history - I think we can close this |
See: ipython/ipython#14223 (comment)
My workaround in void-linux/void-packages#47913 is to patch out the buggy feature. Cf https://github.com/void-linux/void-packages/blob/master/srcpkgs/python3-ipython/patches/fix-sagemath-prompt.patch.
Other than this, everything seems ok with ipython 8.19 (at least all doctests pass).
The text was updated successfully, but these errors were encountered: