Re: Fink-users Digest, Vol 215, Issue 4 (numpy-py310 fails)

a_sk--- via Fink-beginners <[email protected]> Thu, 16 May 2024 14:26:46 +0900
Newsgroups gmane.os.apple.fink.beginners
Message-ID <[email protected]>
On numpy-py310;

In Sonoma14.5(latest), not limited to numpy-py310, but numpy-py38, and numpy-py39 have failed, though all cython-py* are able to install.

i      numpy-py27      1.14.5-2        N-dimensional array package for Python
       numpy-py310     1.22.1-1        N-dimensional array package for Python
i      numpy-py37      1.14.5-2        N-dimensional array package for Python
       numpy-py38      1.22.1-1        N-dimensional array package for Python
       numpy-py39      1.22.1-1        N-dimensional array package for Python

i      cython-py27     3.0.8-1 Tool to make writing Python modules easy
i      cython-py310    3.0.8-1 Tool to make writing Python modules easy
i      cython-py37     3.0.8-1 Tool to make writing Python modules easy
i      cython-py38     3.0.8-1 Tool to make writing Python modules easy
i      cython-py39     3.0.8-1 Tool to make writing Python modules easy

0.45.99.git
selfupdate-git Thu May 16 01:22:24 2024, 14.0, x86_64
Trees: local/main stable/main
Xcode.app: 15.3
Xcode command-line tools: 15.3.0.0.1.1708487402
Max. Fink build jobs:

The indicated portion for BigSur in mail (skipped here) is exactly the same as that for Sonoma 14.5.



> 2024/05/15 21:45、[email protected]:
> . . . .
>   1. numpy-py310 fails on OS 11 (Big Sur) (Scott Hannahs)
> 
> From: Scott Hannahs <[email protected]>
> Re: [Fink-users] numpy-py310 fails on OS 11 (Big Sur)
> To: fink-users <[email protected]>
> 
> I am trying to update a whole variety of fink installs on different OS.
> 
> install numpy-py310 fails with cython complaining about an illegal assignment.  I am not sure I understand the exception values mentioned.  This system has cython-py310 installed
> 
> -Scott
> —————————————————
> /opt/sw/src/fink.build/numpy-py310-1.22.1-1/numpy-1.22.1/tools/cythonize.py:63: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
>  from distutils.version import LooseVersion
> 
> Error compiling Cython file:
> ------------------------------------------------------------
> ...
>            self.rng_state.ctr.v[i] = counter[i]
> 
>        self._reset_state_variables()
> 
>        self._bitgen.state = <void *>&self.rng_state
>        self._bitgen.next_uint64 = &philox_uint64
>                                   ^
> . . . . 
> . . . .
> _philox.pyx:190:35: Cannot assign type 'uint64_t (*)(void *) except? -1 nogil' to 'uint64_t (*)(void *) noexcept nogil'. Exception values are incompatible. Suggest adding 'noexcept' to type 'uint64_t (void *) except? -1 nogil'.
> Traceback (most recent call last):
> . . . .
> _______________________________________________
> Fink-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/fink-users

_______________________________________________
Fink-beginners mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners