SciPy builds for Python 3.12 on Windows are a minor miracle

Python 3.12 has been released with a lot of interesting features. While it may seem ordinary for key packages like pandas and matplotlib to have releases compatible with the new Python version, there is actually an extraordinary story behind it. The story involves the use of Fortran programming language, the struggles of NumPy/SciPy with Python packaging, and the role of conda-forge in the Python ecosystem. It should be noted that Python’s packaging world has faced many challenges and has had to continually reinvent itself to overcome complexities. The use of Meson as a build tool for SciPy was a forward-looking decision that required months of engineering work. Overall, the release of Python 3.12 and its compatibility with key packages is the result of dedicated efforts and a bit of luck.

https://labs.quansight.org/blog/building-scipy-with-flang

To top