python3Packages.numpy: remove unneeded patch

Patch was already merged upstream, no longer relevant
This commit is contained in:
Jonathan Ringer 2021-11-22 22:00:05 -08:00 committed by Jonathan Ringer
parent a7dda03a2e
commit dfcd49afe2

View File

@ -50,13 +50,7 @@ in buildPythonPackage rec {
sha256 = "423216d8afc5923b15df86037c6053bf030d15cc9e3224206ef868c2d63dd6dc";
};
patches = [
# fix https://github.com/numpy/numpy/issues/19624
(fetchpatch {
url = "https://github.com/numpy/numpy/commit/ae279066d6bd253e8675428fac8946938b8d48d9.diff";
sha256 = "sha256-q8SoF/pMzLI4zYCx2YAZzR31cARlZXerNnBSevBO5pE=";
})
] ++ lib.optionals python.hasDistutilsCxxPatch [
patches = lib.optionals python.hasDistutilsCxxPatch [
# We patch cpython/distutils to fix https://bugs.python.org/issue1222585
# Patching of numpy.distutils is needed to prevent it from undoing the
# patch to distutils.