Re: python-numpy (1.22.0-1) can't be imported

2022-02-06 Thread airplanemath via Cygwin
On Sat, Jan 22 2022, Masamichi Hosoda wrote: >> It is something like that, but "-Wl,--export-all-symbols" >> is not used on 1.21.4 and is not needed for most of the other >> modules on 1.22.x >> >> so I am looking for a less extreme action. >> Also to understand how it can impact other python sub

Re: python-numpy (1.22.0-1) can't be imported

2022-01-23 Thread Masamichi Hosoda
> If I understand correctly, I've found the root cause of the issue. > I've sent a pull request to numpy. > https://github.com/numpy/numpy/pull/20874 A question is asked by NumPy if there is documentation on the Cygwin package's Cython behavior. https://github.com/numpy/numpy/pull/20874#issuecomme

Re: python-numpy (1.22.0-1) can't be imported

2022-01-22 Thread Masamichi Hosoda
> It is something like that, but "-Wl,--export-all-symbols" > is not used on 1.21.4 and is not needed for most of the other > modules on 1.22.x > > so I am looking for a less extreme action. > Also to understand how it can impact other python subpackages If I understand correctly, I've found the

Re: python-numpy (1.22.0-1) can't be imported

2022-01-21 Thread Marco Atzeri
On 22.01.2022 02:04, Masamichi Hosoda wrote: I have not found the root cause yet. As the 1.21.4-1 imports correctly I removed the 1.22.0-1 until I solve the issue. I do not see anything obvious in upstream source between 1.21.4 and 1.22.0 that gives me any hint on root cause. Also 1.22.1 shows

Re: python-numpy (1.22.0-1) can't be imported

2022-01-21 Thread Masamichi Hosoda
> I have not found the root cause yet. > As the 1.21.4-1 imports correctly I removed the 1.22.0-1 until I solve > the issue. > > I do not see anything obvious in upstream source between 1.21.4 and > 1.22.0 that gives me any hint on root cause. > > Also 1.22.1 shows the same problem. > I exclud

Re: python-numpy (1.22.0-1) can't be imported

2022-01-18 Thread Marco Atzeri
On 14.01.2022 03:04, airplanemath via Cygwin wrote: On Wed, Jan 12 2022, Marco Atzeri wrote: On 12.01.2022 12:47, ggl329 wrote: Hi Marco, I upgraded python39-numpy to 1.22.0-1, and failed to import numpy. It seems that mtrand.cpython-39-x86_64-cygwin.dll does not have PyInit_mtrand. Could you

Re: python-numpy (1.22.0-1) can't be imported

2022-01-13 Thread airplanemath via Cygwin
On Wed, Jan 12 2022, Marco Atzeri wrote: > On 12.01.2022 12:47, ggl329 wrote: >> Hi Marco, >> I upgraded python39-numpy to 1.22.0-1, and failed to import numpy. >> It seems that mtrand.cpython-39-x86_64-cygwin.dll does not have >> PyInit_mtrand. >> Could you check if numpy can be imported in your

Re: python-numpy (1.22.0-1) can't be imported

2022-01-12 Thread Marco Atzeri
On 12.01.2022 12:47, ggl329 wrote: Hi Marco, I upgraded python39-numpy to 1.22.0-1, and failed to import numpy. It seems that mtrand.cpython-39-x86_64-cygwin.dll does not have PyInit_mtrand. Could you check if numpy can be imported in your environment? working on it. In theory I have not c

python-numpy (1.22.0-1) can't be imported

2022-01-12 Thread ggl329
Hi Marco, I upgraded python39-numpy to 1.22.0-1, and failed to import numpy. It seems that mtrand.cpython-39-x86_64-cygwin.dll does not have PyInit_mtrand. Could you check if numpy can be imported in your environment? $ python3.9 Python 3.9.9 (main, Dec 5 2021, 13:29:55) [GCC 11.2.0] on cygwin