python3Packages.fastmcp: 2.11.3 -> 2.12.4 (#447714)
This commit is contained in:
@@ -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,
|
||||
@@ -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 = [
|
||||
@@ -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" ];
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user