Unverified Commit 8c5be5fa authored by Brian McGillion's avatar Brian McGillion
Browse files

python3Packages.fastmcp: fix broken build



Missing required dependency and some new tests are failing.

Signed-off-by: default avatarBrian McGillion <bmg.avoin@gmail.com>
parent cdaa17da
Loading
Loading
Loading
Loading
+15 −4
Original line number Diff line number Diff line
@@ -14,6 +14,7 @@
  exceptiongroup,
  httpx,
  mcp,
  openapi-core,
  openapi-pydantic,
  pydantic,
  pyperclip,
@@ -57,6 +58,7 @@ buildPythonPackage rec {
    exceptiongroup
    httpx
    mcp
    openapi-core
    openapi-pydantic
    pyperclip
    python-dotenv
@@ -87,6 +89,10 @@ buildPythonPackage rec {
    "test_keep_alive_starts_new_session_if_manually_closed"
    "test_keep_alive_maintains_session_if_reentered"
    "test_close_session_and_try_to_use_client_raises_error"
    "test_run_mcp_config"
    "test_uv_transport"
    "test_uv_transport_module"
    "test_github_api_schema_performance"

    # RuntimeError: Client failed to connect: Timed out while waiting for response
    "test_timeout"
@@ -94,20 +100,25 @@ buildPythonPackage rec {

    # assert 0 == 2
    "test_multi_client"
    "test_canonical_multi_client_with_transforms"

    # fastmcp.exceptions.ToolError: Unknown tool
    "test_multi_client_with_logging"
    "test_multi_client_with_elicitation"
  ]
  ++ lib.optionals stdenv.hostPlatform.isDarwin [
    # RuntimeError: Server failed to start after 10 attempts
    "test_unauthorized_access"
  ];

  disabledTestPaths = lib.optionals stdenv.hostPlatform.isDarwin [
    # RuntimeError: Server failed to start after 10 attempts
    "tests/auth/providers/test_bearer.py"
    "tests/auth/test_oauth_client.py"
    "tests/client/test_openapi.py"
    "tests/client/auth/test_oauth_client.py"
    "tests/client/test_openapi_experimental.py"
    "tests/client/test_openapi_legacy.py"
    "tests/client/test_sse.py"
    "tests/client/test_streamable_http.py"
    "tests/server/http/test_http_dependencies.py"
    "tests/server/auth/test_jwt_provider.py"
    "tests/server/http/test_http_dependencies.py"
  ];