-
-
Notifications
You must be signed in to change notification settings - Fork 454
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
Meta-ticket: Remove Python 2 support for Sage 9.2; upgrades enabled by the removal #29141
Comments
comment:1
python 3.8 update is tracked in #27754, there is a list of issues that need fixing. rpy3 support is merged already in 9.1.beta2 (#28988), as well as networkx 2.4, which is also py3-only (#28450). IMO #28190 is no longer worth the effort at this point, provided that python2 support is to be dropped at 9.2 in the worst case. |
comment:2
Please feel free to update the ticket description. |
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.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
comment:8
I have just updated https://wiki.sagemath.org/Python3-Switch to say that the upcoming 9.1 will still support Python 2 |
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.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
comment:15
@kiwifb: I don't know of any ticket for removing |
comment:16
Another thing that I spotted scanning stuff in #29633. We have a lot python feature backport packages in our tree. We may want to get rid of them as we get rid of python 2.7 and anything older than python 3.7 in fact. Look at |
comment:17
Consider keeping support Python 3.6, whose official support is till 2021-12-23. See #29033. Python 3.5 support ends in 2020-09, so fine to drop it. See life cycle of Python versions:
|
Changed keywords from none to sd109 |
comment:19
Replying to @kiwifb:
I'm working on this. I'll open up a ticket and post a link here some time soon. |
comment:20
Replying to @jhpalmieri:
See #29754. |
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.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
comment:26
We can close this ticket as completed. |
Reviewer: Dima Pasechnik |
From https://groups.google.com/forum/#!topic/sage-devel/vYlbnAwKATM "drop python2 compatibility in 9.1" (thread Jan 5-22, 2020).
Removal of Python 2 support in Sage 9.2 has been announced at https://wiki.sagemath.org/Python3-Switch and https://wiki.sagemath.org/ReleaseTours/sage-9.1
Removal tickets:
long
hack for Python 3 indoctest/forker.py
, remove all calls tolong()
Upgrade tickets:
Please check that upgraded packages are compatible with Python >= 3.6 (and note this on the upgrade ticket) because we may wish to support Python 3.6 venv (#29033).
Other:
src/sage/cpython/_py2_random.py
Reference: Tickets that kept Python 2 compatibility but introduced a performance penalty for Python 2:
See also:
CC: @fchapoton @embray @jdemeyer @slel @antonio-rojas @kiwifb @timokau @jhpalmieri @tscrim @isuruf @nbruin @orlitzky @vbraun @dimpase @videlec @kliem
Component: python3
Keywords: sd109
Reviewer: Dima Pasechnik
Issue created by migration from https://trac.sagemath.org/ticket/29141
The text was updated successfully, but these errors were encountered: