python3Packages.numpy: set passthru.tests to important dependent packages

Per https://github.com/NixOS/nixpkgs/pull/538638#issuecomment-4885771895
This commit is contained in:
Doron Behar
2026-07-06 17:15:49 +03:00
parent 9430bbde0c
commit 353ed9b9b2
+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
;
};
};