Re: [Numpy-discussion] building numpy with python3.7

2018-01-18 Thread Andras Deak
Hello,

After failing with several attempts to build numpy on python 3.7.0a4,
the combo that worked with pip was
cython 0.28a0 (current master)
numpy 1.15.0.dev0 (current master)
in a fresh, clean venv.
Older cython (0.27.3 where the aforementioned issue seems to have been
solved https://github.com/cython/cython/issues/1955) didn't help.
Stable numpy 1.14.0 didn't seem to work even with cython master.
This seems to be the same setup that Thomas mentioned, I mostly want
to note that anything less doesn't seem to compile yet.

András

On Wed, Dec 20, 2017 at 9:15 AM, Hannes Breytenbach  wrote:
> Hi Chuck
>
> I'm using Cython 0.28a0.
>
> Hannes
>
> 
> From: "Charles R Harris" 
> To: "Discussion of Numerical Python" 
> Sent: Tuesday, December 19, 2017 10:01:40 PM
> Subject: Re: [Numpy-discussion] building numpy with python3.7
>
>
>
> On Mon, Dec 18, 2017 at 3:20 AM, Hannes Breytenbach 
> wrote:
>>
>> OK, thanks for the link to the issue.  I'm not using virtual environments
>> - I built python3.7 (and 2.7) with the `make altinstall` method. I managed
>> to get the numpy build working on 3.7 by removing the
>> `random/mtrand/mtrand.c` file so that it gets (re-)generated during the
>> build using the latest cython version.
>>
>> Thanks for the help!
>
>
> Just to be sure, which Cython version is that?
>
> Chuck
>
> !DSPAM:5a39704114261779167816!
> ___
> NumPy-Discussion mailing list
> NumPy-Discussion@python.org
> https://mail.python.org/mailman/listinfo/numpy-discussion
>
>
> !DSPAM:5a39704114261779167816!
>
>
> ___
> NumPy-Discussion mailing list
> NumPy-Discussion@python.org
> https://mail.python.org/mailman/listinfo/numpy-discussion
>
___
NumPy-Discussion mailing list
NumPy-Discussion@python.org
https://mail.python.org/mailman/listinfo/numpy-discussion


Re: [Numpy-discussion] building numpy with python3.7

2018-01-18 Thread Charles R Harris
On Thu, Jan 18, 2018 at 8:54 AM, Andras Deak  wrote:

> Hello,
>
> After failing with several attempts to build numpy on python 3.7.0a4,
> the combo that worked with pip was
> cython 0.28a0 (current master)
> numpy 1.15.0.dev0 (current master)
> in a fresh, clean venv.
> Older cython (0.27.3 where the aforementioned issue seems to have been
> solved https://github.com/cython/cython/issues/1955) didn't help.
> Stable numpy 1.14.0 didn't seem to work even with cython master.
> This seems to be the same setup that Thomas mentioned, I mostly want
> to note that anything less doesn't seem to compile yet.


Where did you get 1.14.0 source? If it was with pip, it was generated using
cython 0.26.1.

Chuck
___
NumPy-Discussion mailing list
NumPy-Discussion@python.org
https://mail.python.org/mailman/listinfo/numpy-discussion


Re: [Numpy-discussion] building numpy with python3.7

2018-01-18 Thread Andras Deak
On Thursday, January 18, 2018, Charles R Harris 
wrote:
>
>
> On Thu, Jan 18, 2018 at 8:54 AM, Andras Deak 
wrote:
>>
>> Hello,
>>
>> After failing with several attempts to build numpy on python 3.7.0a4,
>> the combo that worked with pip was
>> cython 0.28a0 (current master)
>> numpy 1.15.0.dev0 (current master)
>> in a fresh, clean venv.
>> Older cython (0.27.3 where the aforementioned issue seems to have been
>> solved https://github.com/cython/cython/issues/1955) didn't help.
>> Stable numpy 1.14.0 didn't seem to work even with cython master.
>> This seems to be the same setup that Thomas mentioned, I mostly want
>> to note that anything less doesn't seem to compile yet.
>
> Where did you get 1.14.0 source? If it was with pip, it was generated
using cython 0.26.1.
> Chuck

Yes, I did with my last attempts (in earlier attempts I did pull earlier
versions from github but only before I realized I had to upgrade cython
altogether). So that's probably it; sorry, I had no understanding of the
workings of pip.
I'll retry with cython stable and numpy from source, and only post again if
I find something surprising in order to reduce further noise.
Thanks,

András
___
NumPy-Discussion mailing list
NumPy-Discussion@python.org
https://mail.python.org/mailman/listinfo/numpy-discussion