ITA-Solar/helita

Numpy distutils is deprecated

Closed this issue · 2 comments

Installation of helita in Python 3.12 gives error on line

from numpy.distutils import fcompiler

numpy.distutils has been deprecated in NumPy 1.23.0 and is removed since Python 3.12

Yes, this is a known issue. Right now it is not possible to install helita in python 3.12 because of the way the fortran and Cython modules are distributed. An alternative is to use meson instead, but it does not seem trivial.

Fixed by ef0255e.