Loading pkgs/development/python-modules/fastmcp/default.nix +26 −6 Original line number Diff line number Diff line Loading @@ -15,17 +15,21 @@ exceptiongroup, httpx, mcp, openai, openapi-core, openapi-pydantic, pydantic, pyperclip, python-dotenv, rich, websockets, # tests dirty-equals, email-validator, fastapi, inline-snapshot, psutil, pytest-asyncio, pytest-httpx, pytestCheckHook, Loading @@ -33,14 +37,14 @@ buildPythonPackage rec { pname = "fastmcp"; version = "2.11.3"; version = "2.12.4"; pyproject = true; src = fetchFromGitHub { owner = "jlowin"; repo = "fastmcp"; tag = "v${version}"; hash = "sha256-jIXrMyNnyPE2DUgg+sxT6LD4dTmKQglh4cFuaw179Z0="; hash = "sha256-d8DOdyoyYDxZOpiUSxsYXnGrgFYN9CjdmAeHmJiDBP0="; }; build-system = [ Loading @@ -56,10 +60,17 @@ buildPythonPackage rec { mcp openapi-core openapi-pydantic pydantic pyperclip python-dotenv rich ]; websockets ] ++ pydantic.optional-dependencies.email; optional-dependencies = { openai = [ openai ]; }; pythonImportsCheck = [ "fastmcp" ]; Loading @@ -67,25 +78,34 @@ buildPythonPackage rec { dirty-equals email-validator fastapi pydantic inline-snapshot psutil pytest-asyncio pytest-httpx pytestCheckHook writableTmpDirAsHomeHook ] ++ pydantic.optional-dependencies.email; ++ lib.flatten (lib.attrValues optional-dependencies) ++ inline-snapshot.optional-dependencies.dirty-equals; disabledTests = [ "test_logging_middleware_with_payloads" "test_structured_logging_middleware_produces_json" # AssertionError: assert 'INFO' == 'DEBUG' "test_temporary_settings" # RuntimeError: Client failed to connect: Connection close # RuntimeError: Client failed to connect: Connection closed "test_keep_alive_maintains_session_across_multiple_calls" "test_keep_alive_false_starts_new_session_across_multiple_calls" "test_keep_alive_false_exit_scope_kills_server" "test_keep_alive_starts_new_session_if_manually_closed" "test_keep_alive_true_exit_scope_kills_client" "test_keep_alive_maintains_session_if_reentered" "test_close_session_and_try_to_use_client_raises_error" "test_parallel_calls" "test_run_mcp_config" "test_settings_from_environment_issue_1749" "test_uv_transport" "test_uv_transport_module" "test_github_api_schema_performance" Loading Loading
pkgs/development/python-modules/fastmcp/default.nix +26 −6 Original line number Diff line number Diff line Loading @@ -15,17 +15,21 @@ exceptiongroup, httpx, mcp, openai, openapi-core, openapi-pydantic, pydantic, pyperclip, python-dotenv, rich, websockets, # tests dirty-equals, email-validator, fastapi, inline-snapshot, psutil, pytest-asyncio, pytest-httpx, pytestCheckHook, Loading @@ -33,14 +37,14 @@ buildPythonPackage rec { pname = "fastmcp"; version = "2.11.3"; version = "2.12.4"; pyproject = true; src = fetchFromGitHub { owner = "jlowin"; repo = "fastmcp"; tag = "v${version}"; hash = "sha256-jIXrMyNnyPE2DUgg+sxT6LD4dTmKQglh4cFuaw179Z0="; hash = "sha256-d8DOdyoyYDxZOpiUSxsYXnGrgFYN9CjdmAeHmJiDBP0="; }; build-system = [ Loading @@ -56,10 +60,17 @@ buildPythonPackage rec { mcp openapi-core openapi-pydantic pydantic pyperclip python-dotenv rich ]; websockets ] ++ pydantic.optional-dependencies.email; optional-dependencies = { openai = [ openai ]; }; pythonImportsCheck = [ "fastmcp" ]; Loading @@ -67,25 +78,34 @@ buildPythonPackage rec { dirty-equals email-validator fastapi pydantic inline-snapshot psutil pytest-asyncio pytest-httpx pytestCheckHook writableTmpDirAsHomeHook ] ++ pydantic.optional-dependencies.email; ++ lib.flatten (lib.attrValues optional-dependencies) ++ inline-snapshot.optional-dependencies.dirty-equals; disabledTests = [ "test_logging_middleware_with_payloads" "test_structured_logging_middleware_produces_json" # AssertionError: assert 'INFO' == 'DEBUG' "test_temporary_settings" # RuntimeError: Client failed to connect: Connection close # RuntimeError: Client failed to connect: Connection closed "test_keep_alive_maintains_session_across_multiple_calls" "test_keep_alive_false_starts_new_session_across_multiple_calls" "test_keep_alive_false_exit_scope_kills_server" "test_keep_alive_starts_new_session_if_manually_closed" "test_keep_alive_true_exit_scope_kills_client" "test_keep_alive_maintains_session_if_reentered" "test_close_session_and_try_to_use_client_raises_error" "test_parallel_calls" "test_run_mcp_config" "test_settings_from_environment_issue_1749" "test_uv_transport" "test_uv_transport_module" "test_github_api_schema_performance" Loading