···9191 excludes = [ "doc/source/dev/contributor/meson_advanced.rst" ];
9292 })
9393 ];
9494+ # A NOTE regarding the Numpy version relaxing: Both Numpy versions 1.x &
9595+ # 2.x are supported. However upstream wants to always build with Numpy 2,
9696+ # and with it to still be able to run with a Numpy 1 or 2. We insist to
9797+ # perform this substitution even though python3.pkgs.numpy is of version 2
9898+ # nowadays, because our ecosystem unfortunately doesn't allow easily
9999+ # separating runtime and build-system dependencies. See also:
100100+ #
101101+ # https://discourse.nixos.org/t/several-comments-about-priorities-and-new-policies-in-the-python-ecosystem/51790
102102+ #
103103+ # Being able to build (& run) with Numpy 1 helps for python environments
104104+ # that override globally the `numpy` attribute to point to `numpy_1`.
105105+ postPatch = ''
106106+ substituteInPlace pyproject.toml \
107107+ --replace-fail "numpy>2.0.0,<2.5" numpy
108108+ '';
9410995110 build-system =
96111 [