kconnour / pyRT_DISORT

A Python package for helping to compute input arrays to DISORT.
https://kconnour.github.io/pyRT_DISORT/
BSD 3-Clause "New" or "Revised" License
14 stars 5 forks source link

Python 3.12 support #27

Open kconnour opened 3 months ago

kconnour commented 3 months ago

Feature request

Right now, this code will not compile on python3.12. I believe the root of the issue is that distutils is no longer available and thus packaging the code is trickier.

I've found by testing on Ubuntu 22.04 that if I remove the required numpy version in pyproject.toml, I can get the code to seemingly compile. f2py creates directories in /tmp but I no longer see the .so file anywhere within the project (it used to be in the disort4.0.99 directory). This looks suspiciously similar to the Mac installation issue.

Priority

medium, but likely quite challening