-
-
Notifications
You must be signed in to change notification settings - Fork 529
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
Make Python 3 the default #28660
Comments
Branch: public/python3_switch |
comment:1
No idea how to do that properly. Any volunteer to do the job ? New commits:
|
Commit: |
comment:2
Some of the involved stuff:
|
comment:3
Changing https://github.com/sagemath/sage-prod/blob/master/configure.ac#L395 should be a good start. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:5
ok, I did that. Anything else ? |
Dependencies: #25837 |
comment:6
I think it depends on #25837, as sagenb doesn't work with Python 3. |
comment:7
Did you test ? Sagenb is already automatically put aside (i.e. not built) with python3. |
comment:8
well, this is OK as an experimental feature, but we do install all the standard packages, normally speaking, and sagenb is standard. Besides, with Python 3 the message on https://github.com/vbraun/ExportSageNB/pull/16/commits |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:10
|
comment:11
If a prerequisite for building from source becomes "Python >= 3.6", then we need #28657 as a dependency. |
comment:12
In my opinion, #25837 is a hybrid ticket: one part should be simple — make |
comment:13
Replying to @jhpalmieri:
+1 |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:16
May I remove the dependency to #25837 ? |
comment:17
Replying to @fchapoton:
I certainly think so. |
comment:18
And #28657 doesn't need to be a dependency for this ticket, as long as it remains a blocker for the next release. |
comment:19
I tried this and it works: after running
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:22
ok, we can turn sagenb to optional here if you prefer. |
comment:24
Please edit and enhance the wiki page about the switch https://wiki.sagemath.org/Python3-Switch |
comment:25
Replying to @fchapoton:
I would have thought that url link with space in them would better be avoided. You created a page |
comment:26
something else ? We should try to move forward. |
Author: Frédéric Chapoton |
comment:27
As I said before, it works for me. Anyone else with feedback? |
comment:28
Builds like a charm on Ubuntu 18.04 running on a i7-6700HQ + 16 GB RAM computer: having merged this ticket branch in Sage 9.0.beta4 sources (from a fresh git clone + pull develop), running
|
Reviewer: John Palmieri, Eric Gourgoulhon |
comment:30
Let's proceed with this. |
comment:31
This works for me as well on CentOS. |
comment:32
"For now" are dangerous words, though, in particular regarding matrix input and |
comment:33
The switch to Python 3 needs to happen. To get these issues fixed, people need to work on them, and if no one is working on them (as seems to be the case), that isn't reason enough to delay the switch to Python 3. |
Changed branch from public/python3_switch to |
Changed commit from |
comment:35
See #28742 for a followup: after building with Python 2 and then upgrading to a version of Sage including this ticket, the version of Python changes to 3. This causes problems, so we should detect the version mismatch and either keep using Python 2 or abort the |
comment:36
Even though
Should we create another followup to deal with this? I can do it, but it may take me a few days, because I have other higher priority things I have to do first. |
comment:37
Definitely need a follow up. We disentangled that bit a while ago now. I can take care of it, if that's the only place we need to fix for this. |
comment:38
It is now #28805. |
comment:39
Thanks. |
comment:40
Should we delete the file |
comment:41
yes, sure, let's do this. |
comment:42
I opened #28835. |
Because 3 x 3 = 9 and we are at 9.0.beta3 these are three reasons to do the switch... see
https://groups.google.com/forum/#!topic/sage-devel/fmQbbSctZ-I
Depends on #28657
CC: @sagetrac-tmonteil
Component: misc
Author: Frédéric Chapoton
Branch:
715e85a
Reviewer: John Palmieri, Eric Gourgoulhon
Issue created by migration from https://trac.sagemath.org/ticket/28660
The text was updated successfully, but these errors were encountered: