On Sun, 27 Jan 2019, 13:39 Vincent Delecroix, <20100.delecr...@gmail.com> wrote:
> Le 27/01/2019 à 14:32, Simon King a écrit : > > Hi Frédéric, > > > > On 2019-01-27, Frédéric Chapoton <fchapot...@gmail.com> wrote: > >> (2) the most badly failing file is "explain_pickle" with 70 failing > >> doctests. Hopefully, this will be treated very carefully by Erik M. Bray > >> > >> (3) after that, we still have problems with graph, where > generic_graph.py > >> has 50 failing doctests. But good progress was made by David Coudert, > > > > Is there an apparent common reason for most of these failing tests? Such > > as code that makes assumptions on sorting (which, IIRC, is different in > > Python 2 and Python 3)? > > > >> *STATEMENT *: I would to advocate that **every developer switch to > python3 > >> NOW**. > > > > How? > > > > To make my question more precise: For production I would like to > > keep a python 2 installation of Sage. So, given my existing Sage > > installation, what would be the easiest way to create a second > > installation with python 3 that is automatically configured to work > > well with "git trac"? I guess it is some kind of git clone. Also I > > don't know what make target is needed. > > You need a different clone of your git repo, let say sage-py3. In that > clone, do > > $ make configure > $ ./configure --with-python=3 > > Then, unless you rerun configure, every call to make will take care > of the Python 3 switch automatically. > Not quite: doing make distclean will take you back to the python2 default and you'll need to run configure again. This just happened to me. (I have a bad habit of doing make distclean; make whenever anything mysterious happens). > See also https://wiki.sagemath.org/Python3-compatible%20code > > Vincent > > -- > You received this message because you are subscribed to the Google Groups > "sage-devel" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sage-devel+unsubscr...@googlegroups.com. > To post to this group, send email to sage-devel@googlegroups.com. > Visit this group at https://groups.google.com/group/sage-devel. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.