python3.pkgs.pydevd: fix tests against numpy 1.25

This commit is contained in:
Theodore Ni 2023-07-30 16:16:32 -07:00
parent 286a368be5
commit ba82308971
No known key found for this signature in database
GPG Key ID: 48B67583BDDD4474

View File

@ -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