[sage-devel] Re: refresh the banner

2018-10-30 Thread Frédéric Chapoton
Because we do not have a clean command inside sage to launch the jupyter noteboook. For the moment, we should just try to avoid new people start using the deprecated sagenb. F Le lundi 29 octobre 2018 23:51:22 UTC+1, Simon King a écrit : > > Hi Frédéric, > > On 2018-10-29, Frédéric Chapoton

[sage-devel] Re: sage Python3 build: sagenb problem

2018-10-30 Thread Eric Gourgoulhon
Hi, I had the same problem this morning, while performing the python3 build of Sage 8.5.beta1: [sagenb-1.1.0] Error installing package sagenb-1.1.0 The command was MAKE="make -j8" make build Running it a second time lead to a successful build though... Eric. -- You received this message

Re: [sage-devel] Re: sage Python3 build: sagenb problem

2018-10-30 Thread Daniel Krenn
On 2018-10-30 13:47, Eric Gourgoulhon wrote: > I had the same problem this morning, while performing the python3 build > of Sage 8.5.beta1: > [sagenb-1.1.0] Error installing package sagenb-1.1.0  > The command was > MAKE="make -j8" make build > Running it a second time lead to a successful build

Re: [sage-devel] Re: sage Python3 build: sagenb problem

2018-10-30 Thread Dima Pasechnik
If you insist of building sagenb on python3 (where it's broken) then one should not build its docs there (docbuilding of sagenb on python3 is known to be broken) On Tue, Oct 30, 2018 at 2:35 PM Daniel Krenn wrote: > > On 2018-10-30 13:47, Eric Gourgoulhon wrote: > > I had the same problem this

Re: [sage-devel] Re: sage Python3 build: sagenb problem

2018-10-30 Thread Daniel Krenn
On 2018-10-30 14:44, Dima Pasechnik wrote: > If you insist of building sagenb on python3 (where it's broken) > then one should not build its docs there > (docbuilding of sagenb on python3 is known to be broken) I do not need sagenb nor docs at all. I simply want a SageMath on Python3 to see the

Re: [sage-devel] Re: sage Python3 build: sagenb problem

2018-10-30 Thread Dima Pasechnik
Just add exit 0 at the 1st line of build/pkgs/sagenb/spkg-install On Tue, Oct 30, 2018 at 2:57 PM Daniel Krenn wrote: > > On 2018-10-30 14:44, Dima Pasechnik wrote: > > If you insist of building sagenb on python3 (where it's broken) > > then one should not build its docs there > >

[sage-devel] Re: Error building sage-8.4 on Ubuntu

2018-10-30 Thread Timo Kaufmann
I just had the same issue. Why do you think "several versions of gfortran guts" are the issue? How does sage find gfortran / why does it get confused? -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop

Re: [sage-devel] Re: Error building sage-8.4 on Ubuntu

2018-10-30 Thread Dima Pasechnik
On Tue, Oct 30, 2018 at 4:01 PM Timo Kaufmann wrote: > > I just had the same issue. Why do you think "several versions of gfortran > guts" are the issue? How does sage find gfortran / why does it get confused? > What's the OS you are using? How do you install Sage? I suspect it's a conflict

[sage-devel] sage Python3 build: sagenb problem

2018-10-30 Thread Daniel Krenn
I tried to build Sage with Python3 via make configure ./configure --with-python=3 make build (fresh clone of 8.5.beta1) as announced on https://wiki.sagemath.org/Python3-compatible%20code but it failed building its docs. From what I read, building the docs does still not work (part of the log

Re: [sage-devel] Bug with NumberField

2018-10-30 Thread Vincent Delecroix
solved at https://trac.sagemath.org/ticket/26593 Le 26/10/2018 à 16:48, 'Paul Mercat' via sage-devel a écrit : Thank you. So the bug is with the test of equality in QQbar, not with NumberField. Do you know how to solve this problem with QQbar ? I tried to look at where is the error, and it

Re: [sage-devel] Re: sage Python3 build: sagenb problem

2018-10-30 Thread Dima Pasechnik
IMHO sagenb should not be installed with python 3 at all. On Tue, Oct 30, 2018 at 1:47 PM Eric Gourgoulhon wrote: > > Hi, > > I had the same problem this morning, while performing the python3 build of > Sage 8.5.beta1: > [sagenb-1.1.0] Error installing package sagenb-1.1.0 > The command was >

[sage-devel] Re: python3 status report

2018-10-30 Thread John H Palmieri
On Monday, October 29, 2018 at 9:36:33 PM UTC-7, Kwankyu Lee wrote: > > Or run 'make distclean' before switching Python versions. >> > > For me, "make distclean" did not work. > What didn't work about it? "make distclean" followed by "./configure --with-python=3" and then "make" works for me.

Re: [sage-devel] Re: Error building sage-8.4 on Ubuntu

2018-10-30 Thread Timo Kaufmann
Good thing you made me check. I didn't actually include gfortran into the build environment, so its saying `checking for gfortran... no`. On Tue, Oct 30, 2018 at 4:48 PM Dima Pasechnik wrote: > Well, does ./configure outputs something like > > . > gcc-7.2.0 not installed (configure

Re: [sage-devel] Re: Error building sage-8.4 on Ubuntu

2018-10-30 Thread Timo Kaufmann
Its a bit of a complicated case, but I'm not using anaconda. I'm using nixos and a special build environment that uses linux namespaces to make sure all the dependencies are in the location sage expects them. I'm using that to build sage-the-distribution when testing because that won't build

Re: [sage-devel] Re: Error building sage-8.4 on Ubuntu

2018-10-30 Thread Timo Kaufmann
No, but nixos doesn't follow FHS[0], so I am using linux namespaces (more precisely this[1]) to build sage in an environment where all the build dependencies are at their FHS locations. So sage is using nixos's gfortran, the namespaces are just so it can find it where it expects it. This worked

Re: [sage-devel] Re: Error building sage-8.4 on Ubuntu

2018-10-30 Thread Dima Pasechnik
On Tue, Oct 30, 2018 at 4:29 PM Timo Kaufmann wrote: > > Its a bit of a complicated case, but I'm not using anaconda. I'm using nixos > and a special build environment that uses linux namespaces to make sure all > the dependencies are in the location sage expects them. I'm using that to >

Re: [sage-devel] Re: Error building sage-8.4 on Ubuntu

2018-10-30 Thread Dima Pasechnik
Well, does ./configure outputs something like . gcc-7.2.0 not installed (configure check) gdb-8.2 gf2x-1.2.p0 gfan-0.6.2.p0 gfortran-7.2.0 not installed (configure check) ... If so it should not build gfortran (unless you have SAGE_INSTALL_GCC set to yes for some

[sage-devel] _l_action_ and _r_action_ not working?

2018-10-30 Thread Daniel Krenn
Do _l_action_ and _r_action_ actually work? We have the following occurrences: dakrenn@nops:~$ sage -grep "_l_action_" sage/rings/multi_power_series_ring_element.py:#return self._l_action_(c) sage/rings/multi_power_series_ring_element.py:def _l_action_(self, c):

[sage-devel] Re: _l_action_ and _r_action_ not working?

2018-10-30 Thread Simon King
Hi Daniel, On 2018-10-30, Daniel Krenn wrote: > Do _l_action_ and _r_action_ actually work? I've already used that kind of methods in the past. Best regards, Simon -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group

Re: [sage-devel] Should we include SDL in sage ?

2018-10-30 Thread 'Paul Mercat' via sage-devel
I just need to use the library from my C code in included in sage. Is it necessary to write an interface for that ? Le mercredi 31 octobre 2018 00:25:34 UTC+1, Thierry (sage-googlesucks@xxx) a écrit : > > Hi, > > On Tue, Oct 30, 2018 at 04:18:16PM -0700, 'Paul Mercat' via sage-devel > wrote:

[sage-devel] Re: python3 status report

2018-10-30 Thread Kwankyu Lee
On Wednesday, October 31, 2018 at 2:34:59 AM UTC+9, John H Palmieri wrote: > > > > On Monday, October 29, 2018 at 9:36:33 PM UTC-7, Kwankyu Lee wrote: >> >> Or run 'make distclean' before switching Python versions. >>> >> >> For me, "make distclean" did not work. >> > > What didn't work about

[sage-devel] dot in sage ?

2018-10-30 Thread 'Paul Mercat' via sage-devel
Hi ! I'm using the Graphviz librairy to draw graph in the tools that I'm currently developping for sage, because it produces much better pictures than the default tool of Sage. But I use the program "dot" that I installed on my computer. If I'm not mistaken, Graphviz is partially included in

Re: [sage-devel] dot in sage ?

2018-10-30 Thread Thierry
Hi, On Tue, Oct 30, 2018 at 04:49:16PM -0700, 'Paul Mercat' via sage-devel wrote: > Hi ! > > I'm using the Graphviz librairy to draw graph in the tools that I'm > currently developping for sage, > because it produces much better pictures than the default tool of Sage. > But I use the program

Re: [sage-devel] Should we include SDL in sage ?

2018-10-30 Thread Thierry
Hi, On Tue, Oct 30, 2018 at 04:18:16PM -0700, 'Paul Mercat' via sage-devel wrote: > Hi ! > > I'm currently working on things in sage that uses the librairy SDL2. > This librairy is not part of sage if I'm not mistaken, but it is really > usefull to draw efficiently and interact with the user. >

[sage-devel] Should we include SDL in sage ?

2018-10-30 Thread 'Paul Mercat' via sage-devel
Hi ! I'm currently working on things in sage that uses the librairy SDL2. This librairy is not part of sage if I'm not mistaken, but it is really usefull to draw efficiently and interact with the user. It's a low level and not too big C librairy, with a licence compatible with sage if I'm not

[sage-devel] Some Magma help

2018-10-30 Thread knsam
Hello everyone: It has become necessary to lean on Magma's extensive ability to compute with lattices (and in particular with ideal classes in definite quaternion algebras). I am trying to write some code in Magma (granting that this is an abomination) and for the life of me, I cannot