modelon-community / Assimulo

Assimulo is a simulation package for solving ordinary differential equations.
https://jmodelica.org/assimulo/index.html
GNU Lesser General Public License v3.0
70 stars 17 forks source link

Python 3.12 support #70

Closed jschueller closed 5 months ago

jschueller commented 1 year ago

numpy.distutils was removed with 3.12 so assimulo cannot be built anymore

possible migration paths include scikit-build-core or meson, unless remaining Fortran sources could be removed so that setuptools can be kept https://numpy.org/doc/stable/reference/distutils_status_migration.html

modelonrobinandersson commented 1 year ago

Hi @jschueller, thank you for raising this. I think we have to do some major restructuring of both assimulo and pyfmi, I'd like to discuss this further with @chria before we do anything. This will likely take some time I'll keep updating this thread (as well as the PyFMI one)

jschueller commented 6 months ago

what about scikit-build-core ? this seems neat, see #93

modelonrobinandersson commented 6 months ago

Hi @jschueller I think scikit-build-core is likely the way to go too. I have just briefly looked at it but it seems like the most viable approach forward. We just merged a day ago support for Cython 3.x which likely will simplify the process a bit.