Re: What to do about sagemath

2018-10-17 Thread Jerry James
On Wed, Oct 17, 2018 at 11:35 AM Paulo César Pereira de Andrade wrote: > I am afraid I did not help with sagemath for quite some time, and > would really like to > thank Jerry for keeping working on it. HI Paulo. It's good to hear from you! I hope you are well. I think I'm past the cython

Re: What to do about sagemath

2018-10-17 Thread Paulo César Pereira de Andrade
%buEm ter, 16 de out de 2018 às 15:05, Miro Hrončok escreveu: > > On 16.10.2018 19:17, Jerry James wrote: > > On Tue, Oct 16, 2018 at 9:51 AM Jerry James wrote: > >> Sadly, no. > > > > Here is the challenge, Python aficionados. The attached file, > > test.pyx, can be processed like this on

Re: What to do about sagemath

2018-10-16 Thread Miro Hrončok
On 16.10.2018 19:17, Jerry James wrote: On Tue, Oct 16, 2018 at 9:51 AM Jerry James wrote: Sadly, no. Here is the challenge, Python aficionados. The attached file, test.pyx, can be processed like this on Fedora 28 with Cython 0.28.4: "cythonize -3 test.pyx". That succeeds and generates

Re: What to do about sagemath

2018-10-16 Thread Jerry James
On Tue, Oct 16, 2018 at 11:17 AM Jerry James wrote: > On Rawhide with Cython 0.29rc2, that fails as noted earlier in this > thread. The name PyLongObject cannot be imported with cimport. How > does the code need to change to compute the same result? I should have tried figuring this out for

Re: What to do about sagemath

2018-10-16 Thread Jerry James
On Tue, Oct 16, 2018 at 9:51 AM Jerry James wrote: > Sadly, no. Here is the challenge, Python aficionados. The attached file, test.pyx, can be processed like this on Fedora 28 with Cython 0.28.4: "cythonize -3 test.pyx". That succeeds and generates code that Does The Right Thing. On Rawhide

Re: What to do about sagemath

2018-10-16 Thread Jerry James
On Sat, Oct 13, 2018 at 1:36 PM Miro Hrončok wrote: > Would changing to: > > cdef const digit* D = x.ob_digit > > do? Sadly, no. Error compiling Cython file: ... return 1 err[0] = ERR_TYPE return 0

Re: What to do about sagemath

2018-10-13 Thread Miro Hrončok
On 12.10.2018 22:13, Jerry James wrote: This is from Includes/cpython/longintrepr.pxd in Cython 0.28.4, which does not trigger the above error: ctypedef struct PyLongObject: digit* ob_digit This is from the same file in Cython 0.29~rc2-1, which does trigger the above error:

Re: What to do about sagemath

2018-10-12 Thread Jerry James
On Fri, Oct 5, 2018 at 2:48 AM Miro Hrončok wrote: > How can I help with the python3 transition? I need some help after all. Cythonizing of src/sage/arith/long.pxd is failing like so: Error compiling Cython file: ... from

Re: What to do about sagemath

2018-10-05 Thread Jerry James
On Fri, Oct 5, 2018 at 2:48 AM Miro Hrončok wrote: > How can I help with the python3 transition? Thanks for the offer, Miro. I don't know yet. I know that I'm going to have to make the build continue in spite of doctest failures. There are still quite a few of those. I'll try to work through

Re: What to do about sagemath

2018-10-05 Thread Miro Hrončok
On 5.10.2018 04:56, Jerry James wrote: On Mon, Sep 24, 2018 at 7:58 AM Miro Hrončok wrote: IMHO You can build the python3 package as well, but blacklist it from the module. I'm starting to lean back towards migrating to the (experimental, buggy) python 3 build. Lots of python 3 fixes have

Re: What to do about sagemath

2018-10-04 Thread Jerry James
On Mon, Sep 24, 2018 at 7:58 AM Miro Hrončok wrote: > IMHO You can build the python3 package as well, but blacklist it from > the module. I'm starting to lean back towards migrating to the (experimental, buggy) python 3 build. Lots of python 3 fixes have gone into the (not quite released)

Re: What to do about sagemath

2018-09-24 Thread Miro Hrončok
On 24.9.2018 15:28, Owen Taylor wrote: Using modules for this purpose will take some care for parallel installability - unless you are happy with sagemath only being runnable from within a container. Unless I'm missing something, to restore a python2 subpackage that has been removed in the

Re: What to do about sagemath

2018-09-24 Thread Owen Taylor
Using modules for this purpose will take some care for parallel installability - unless you are happy with sagemath only being runnable from within a container. Unless I'm missing something, to restore a python2 subpackage that has been removed in the main Fedora, you'd need to: - Create a

Re: What to do about sagemath

2018-09-22 Thread Jerry James
On Sat, Sep 22, 2018 at 4:55 PM Miro Hrončok wrote: > I never thought I would ever ask this, but would it make sense to get > sagemath into a module? We could pin all the necessary python2 packages > in the module to the current (or even older?) versions (and don't update > them to newer versions

Re: What to do about sagemath

2018-09-22 Thread Miro Hrončok
On 22.9.2018 22:25, Jerry James wrote: On Fri, Sep 21, 2018 at 10:35 AM Charalampos Stratakis wrote: Only sagemath worries me in this list since AFAIK there is still some way to go, for full python3 support upstream. I wrote about this about a month ago, and then got super busy and didn't