python3Packages.numpy: set passthru.tests to important dependent packages (#538781)

This commit is contained in:
Doron Behar
2026-07-06 14:24:19 +00:00
committed by GitHub
+15 -1
View File
@@ -22,7 +22,11 @@
openmpCheckPhaseHook,
# Reverse dependency
astropy,
numba,
pandas,
sage,
xarray,
# tests
hypothesis,
@@ -202,7 +206,17 @@ buildPythonPackage (finalAttrs: {
coreIncludeInnerDir = "${python.sitePackages}/numpy/_core/include";
coreIncludeDir = "${finalAttrs.finalPackage}/${finalAttrs.finalPackage.passthru.coreIncludeInnerDir}";
tests = {
inherit sage;
# NOTE: It is important to check these central dependent packages when
# issuing Numpy PRs and especially version bumps (even minor version
# bumps) - evidently these have caused issues in staging-next in the
# past.
inherit
astropy
numba
pandas
sage
xarray
;
};
};