news.volyx.in

SciPy builds for Python 3.12 on Windows are a minor miracle (labs.quansight.org)

475 points by todsacerdoti · 1018 days ago · 292 comments on HN

Article summary

The article discusses the successful build of SciPy for Python 3.12 on Windows, which is considered a notable achievement. The build process involved using Meson, a build system that can generate build files for various platforms. The article's details are not available, but the comments suggest that the build process was complex and required significant effort. The success of the build is seen as a positive development for the Python community.

Main themes

  • Python build systems
  • SciPy and Windows
  • Meson and CMake
  • Package management
  • Cross-platform builds
  • Build system complexity

What commenters say

  • Meson is a suitable build system for Python projects, particularly for building SciPy on Windows.
  • The Python packaging ecosystem is complex and prone to fragmentation, making it difficult to manage dependencies and builds.
  • CMake is a flawed build system that makes too many assumptions about project structure and compiler flags.
  • The use of build systems like Meson and CMake can be problematic, especially when dealing with cross-platform builds and complex project dependencies.
  • Vcpkg is a viable alternative to other package managers like Conan, but its adoption may be limited by its association with Microsoft.
  • Build systems should be simple and flexible, allowing developers to specify exact parameters and build configurations without making assumptions.
  • The 'Windows problem' is a significant challenge in building and deploying software, particularly when dealing with complex builds and dependencies.