diff --git a/pkgs/development/python-modules/spacy/default.nix b/pkgs/development/python-modules/spacy/default.nix index 990d8996d1b6..cbd02ae018a7 100644 --- a/pkgs/development/python-modules/spacy/default.nix +++ b/pkgs/development/python-modules/spacy/default.nix @@ -49,7 +49,9 @@ buildPythonPackage rec { }; postPatch = '' - sed -i "/numpy/d" pyproject.toml + # unpin numpy, cannot use pythonRelaxDeps because it's in build-system + substituteInPlace pyproject.toml setup.cfg \ + --replace-fail ",<2.1.0" "" ''; build-system = [ diff --git a/pkgs/development/python-modules/wandb/default.nix b/pkgs/development/python-modules/wandb/default.nix index 0872f5283e6f..e5968f51168b 100644 --- a/pkgs/development/python-modules/wandb/default.nix +++ b/pkgs/development/python-modules/wandb/default.nix @@ -296,6 +296,11 @@ buildPythonPackage rec { # Error in the moviepy package: # TypeError: must be real number, not NoneType "test_video_numpy_mp4" + + # AssertionError: assert not _IS_INTERNAL_PROCESS + "test_disabled_can_pickle" + "test_disabled_context_manager" + "test_mode_disabled" ] ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [ # AssertionError: assert not copy2_mock.called