ITA-Solar / helita

A Python library for solar physics from the Institute of Theoretical Astrophysics, University of Oslo
BSD 3-Clause "New" or "Revised" License
9 stars 17 forks source link

Numpy distutils is deprecated #49

Closed meudnaes closed 2 months ago

meudnaes commented 4 months ago

Installation of helita in Python 3.12 gives error on line https://github.com/ITA-Solar/helita/blob/39bf3033ce1b132f61205dffffb585c317087074/setup.py#L8

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

tiagopereira commented 4 months ago

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.

tiagopereira commented 2 months ago

Fixed by ef0255e.