-
-
Notifications
You must be signed in to change notification settings - Fork 482
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
upgrade to ipython 7 #28197
Comments
Branch: public/ticket/28197 |
This comment has been minimized.
This comment has been minimized.
comment:1
This is basically working, but maybe without preparsing.. New commits:
|
Commit: |
comment:3
Should this depend on #28190? |
Dependencies: #28190 |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
comment:7
Current issues (8.9.beta3):
The preparsing is not working since it has been commented out. |
comment:8
Trying to launch ipython one get:
So one has to install the |
This comment has been minimized.
This comment has been minimized.
comment:11
A patch that makes sage work with ipython 7, including the preparser, is available at [1]. I haven't bothered to make it backwards compatible with older ipython, and it probably needs some polishing, feel free to take it from there. [1] https://aur.archlinux.org/cgit/aur.git/tree/sagemath-ipython7.patch?h=sagemath-python3-git |
comment:12
(For lack of a better component; perhaps we should add a "REPL" component...?) |
comment:15
This is Python 3 only. Are there specific plans for when we drop Python 2 support from Sage? Version 9.1? |
comment:16
ipython 7.10 breaks many more tests due to it no longer sorting dicts. Some tests output is actually random now. Updated patch at https://aur.archlinux.org/cgit/aur.git/tree/sagemath-ipython7.patch?h=sagemath-git |
comment:17
Ticket retargeted after milestone closed |
comment:18
The new jedi completion engine seems to have some problems. For example with IPython 7.6.1, invoking tab completion like
causes the interpreter to freeze for about 1.5 minutes (apparently, a largish cache is created at
This also seems to slow down exiting Sage. As for the display of dictionaries during doctests, I suggest to open a separate ticket to remove the sorting. This can be done independently from the IPython upgrade, once Python 2 support is dropped by Sage (in 9.1 I assume). |
This comment has been minimized.
This comment has been minimized.
comment:19
a preparation step at #28948 |
Reviewer: John Palmieri, Matthias Koeppe |
comment:69
As for the tests, there is no obvious failure. So at least installing seems to work everywhere. I didn't test any generated docker images to see how it actually looks though. |
comment:70
I'm carrying out my threat to set a positive review ;) Dear all: feel free to add yourself as a reviewer or an author (or both), as you see fit. |
comment:71
For a future ticket, we could also upgrade to 7.16.1. I just tried, and it builds and passes tests on my OS X box. I want to get this ticket in as it stands, though. |
comment:72
Replying to @jhpalmieri:
For the record, I am at 7.16.1 in sage-on-gentoo as well. Merging as it it now is the most important bit. |
comment:73
Looks like merge failed |
Branch pushed to git repo; I updated commit sha1 and set ticket back to needs_review. New commits:
|
Changed branch from public/ticket/28197-reb to |
Changed commit from |
comment:78
This update broke |
comment:79
Preparsing multi-line strings also seems to be broken by this upgrade. See #30417. |
Changed author from Jonathan Kliem, John Palmieri, Antonio Rojas to Jonathan Kliem, John Palmieri, Antonio Rojas |
comment:81
See #30928 for a possible follow-up. |
Upgrade ipython and related packages:
All of these package versions support python >= 3.6 (note #29033).
Tarballs: see
checksums.ini
[upstream_url
]. (To configure Sage to download from the upstream URLs, use./configure --enable-download-from-upstream-url
)CC: @embray @jdemeyer @slel @kiwifb @timokau @antonio-rojas
Component: packages: standard
Keywords: upgrade
Author: Jonathan Kliem, John Palmieri, Antonio Rojas
Branch:
e21a7b0
Reviewer: John Palmieri, Matthias Koeppe
Issue created by migration from https://trac.sagemath.org/ticket/28197
The text was updated successfully, but these errors were encountered: