numpy-py310 build fails.

Scott Hannahs via Fink-users <[email protected]> Thu, 16 May 2024 13:54:16 -0400
Newsgroups gmane.os.apple.fink.general
Message-ID <[email protected]>
This looks like a problem in the source for numpy-py310.  There is a type mismatch?  I seem to have built and installed that same version on MacOS 13.6.

-Scott

MacOS 11.7.10 (Big Sur)

Cythonizing sources
Processing numpy/random/_bounded_integers.pxd.in
Processing numpy/random/_philox.pyx
/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):
…..
Also include the following system information:
Package manager version: 0.45.99.git
Distribution version: selfupdate-git Tue May 14 12:49:27 2024, 11.3, x86_64
Trees: local/injected local/main stable/main
Xcode.app: 13.2.1
Xcode command-line tools: 13.2.0.0.1.1637719136
Max. Fink build jobs:  2





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