numpy-py310 fails on OS 11 (Big Sur)
Scott Hannahs via Fink-users <[email protected]> Tue, 14 May 2024 15:50:23 -0400
| Newsgroups | gmane.os.apple.fink.general |
|---|---|
| Message-ID | <[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):
File "/opt/sw/src/fink.build/numpy-py310-1.22.1-1/numpy-1.22.1/tools/cythonize.py", line 234, in <module>
main()
File "/opt/sw/src/fink.build/numpy-py310-1.22.1-1/numpy-1.22.1/tools/cythonize.py", line 230, in main
find_process_files(root_dir)
File "/opt/sw/src/fink.build/numpy-py310-1.22.1-1/numpy-1.22.1/tools/cythonize.py", line 221, in find_process_files
process(root_dir, fromfile, tofile, function, hash_db)
File "/opt/sw/src/fink.build/numpy-py310-1.22.1-1/numpy-1.22.1/tools/cythonize.py", line 187, in process
processor_function(fromfile, tofile)
File "/opt/sw/src/fink.build/numpy-py310-1.22.1-1/numpy-1.22.1/tools/cythonize.py", line 76, in process_pyx
subprocess.check_call(
File "/opt/sw/lib/python3.10/subprocess.py", line 369, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/opt/sw/bin/python3.10', '-m', 'cython', '-3', '--fast-fail', '-o', '_philox.c', '_philox.pyx']' returned non-zero exit status 1.
Traceback (most recent call last):
File "/opt/sw/src/fink.build/numpy-py310-1.22.1-1/numpy-1.22.1/setup.py", line 454, in <module>
setup_package()
File "/opt/sw/src/fink.build/numpy-py310-1.22.1-1/numpy-1.22.1/setup.py", line 436, in setup_package
generate_cython()
File "/opt/sw/src/fink.build/numpy-py310-1.22.1-1/numpy-1.22.1/setup.py", line 241, in generate_cython
raise RuntimeError("Running cythonize failed!")
RuntimeError: Running cythonize failed!
…
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