UMEP-dev/SUEWS

py39–py312 supoort

Closed this issue · 4 comments

Add support for Python 3.12 to the project.

Some more updates on this

the complete removal of distutils in py312 has led to several compatibility issues with custom patches I introduced for proper packaging of supy_driver on Windows, as well as some apparent upstream bugs in numpy related to this.


Next step

need to set up a py312 dev environment to accommodate the changes and address the distutils-related issues.

Further research reveals that the distutils-based modules have been removed. We need to fully transition to meson for the build process, like other SciPy packages.

Managed to add support for py312 using meson as the build system, as recommended by the scientific Python community. The built wheels can also be successfully delivered to (Test)PyPI.

Next step is to add tests for the wheels.

Also needs to accommodate py39.