Hi all,

With distutils now removed from the stdlib in the Python 3.12 release
cycle, the clock is ticking a bit for dealing with our build system
situation. With SciPy's move to Meson now basically complete - there are
always loose ends & improvements, but the 1.9 releases have gone well -
it's time to look at NumPy doing the same thing. Scikit-image has also
merged support for Meson, and Pandas is about to. So all the generic &
Python packaging related things we need should be in place. NumPy does have
some hairy stuff of course that those other projects don't have (lots of
config checks and platform-specific behavior, extensive SIMD support). It
shouldn't be too difficult to get a baseline build - Linux/macOS with
baseline SIMD flags - working, but there'll be a long tail of things that
are hard to test or will need to be upstreamed to Meson.

Here is a tracking issue where I wrote up a plan for how to approach the
transition: https://github.com/numpy/numpy/issues/22546. Linked from there
is a GitHub project board that we plan to use to divide up the work. And
there is a `meson` branch in the repo with a start to the implementation.

NumPy should default to building with Meson in the 1.25.0 release, which
should also still build with `numpy.distutils`. And `numpy.distutils` will
continue to be shipped for Python <3.12 for a while after that, until we
determine that it's no longer needed.

If anyone has ideas or concerns regarding the current plan, it'd be great
to hear them - here or on the issue.

Cheers,
Ralf
_______________________________________________
NumPy-Discussion mailing list -- numpy-discussion@python.org
To unsubscribe send an email to numpy-discussion-le...@python.org
https://mail.python.org/mailman3/lists/numpy-discussion.python.org/
Member address: arch...@mail-archive.com

Reply via email to