Loading pkgs/development/python-modules/mcp/default.nix +3 −8 Original line number Diff line number Diff line Loading @@ -52,15 +52,10 @@ buildPythonPackage rec { hash = "sha256-fSQCvKaNMeCzguM2tcTJJlAeZQmzSJmbfEK35D8pQcs="; }; postPatch = lib.optionalString stdenv.buildPlatform.isDarwin '' # time.sleep(0.1) feels a bit optimistic and it has been flaky whilst # testing this on macOS under load. substituteInPlace \ "tests/client/test_stdio.py" \ "tests/server/fastmcp/test_integration.py" \ "tests/shared/test_ws.py" \ "tests/shared/test_sse.py" \ "tests/shared/test_streamable_http.py" \ postPatch = lib.optionalString stdenv.buildPlatform.isDarwin '' substituteInPlace tests/client/test_stdio.py \ --replace-fail "time.sleep(0.1)" "time.sleep(1)" ''; Loading Loading
pkgs/development/python-modules/mcp/default.nix +3 −8 Original line number Diff line number Diff line Loading @@ -52,15 +52,10 @@ buildPythonPackage rec { hash = "sha256-fSQCvKaNMeCzguM2tcTJJlAeZQmzSJmbfEK35D8pQcs="; }; postPatch = lib.optionalString stdenv.buildPlatform.isDarwin '' # time.sleep(0.1) feels a bit optimistic and it has been flaky whilst # testing this on macOS under load. substituteInPlace \ "tests/client/test_stdio.py" \ "tests/server/fastmcp/test_integration.py" \ "tests/shared/test_ws.py" \ "tests/shared/test_sse.py" \ "tests/shared/test_streamable_http.py" \ postPatch = lib.optionalString stdenv.buildPlatform.isDarwin '' substituteInPlace tests/client/test_stdio.py \ --replace-fail "time.sleep(0.1)" "time.sleep(1)" ''; Loading