python3.pkgs.pydevd: fix tests against numpy 1.25

This commit is contained in:
Theodore Ni
2023-08-03 04:03:38 -07:00
parent 286a368be5
commit ba82308971
@@ -2,6 +2,7 @@
, lib
, buildPythonPackage
, fetchFromGitHub
, fetchpatch
, numpy
, psutil
, pytestCheckHook
@@ -24,6 +25,17 @@ buildPythonPackage rec {
hash = "sha256-TDU/V7kY7zVxiP4OVjGqpsRVYplpkgCly2qAOqhZONo=";
};
patches = [
# https://github.com/fabioz/PyDev.Debugger/pull/258
(fetchpatch {
name = "numpy-1.25-test-compatibility.patch";
url = "https://github.com/fabioz/PyDev.Debugger/commit/6f637d951cda62dc2202a2c7b6af526c4d1e8a00.patch";
hash = "sha256-DLzZZwQHtqGZGA8nsBLNQqamuI4xUfQ89Gd21sJa9/s=";
})
];
__darwinAllowLocalNetworking = true;
nativeCheckInputs = [
numpy
psutil