From 7f6d1d0d4011994b417891e577c514bc869f52ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Attila=20Ol=C3=A1h?= Date: Wed, 17 Jun 2026 16:22:30 +0200 Subject: [PATCH 1/4] python3Packages.mcp: 1.26.0 -> 1.27.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Assisted-by: OpenCode:gpt-5.5-1 Signed-off-by: Attila Oláh --- pkgs/development/python-modules/mcp/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/mcp/default.nix b/pkgs/development/python-modules/mcp/default.nix index b8536ececaa5..f804c12f5349 100644 --- a/pkgs/development/python-modules/mcp/default.nix +++ b/pkgs/development/python-modules/mcp/default.nix @@ -42,14 +42,14 @@ buildPythonPackage (finalAttrs: { pname = "mcp"; - version = "1.26.0"; + version = "1.27.0"; pyproject = true; src = fetchFromGitHub { owner = "modelcontextprotocol"; repo = "python-sdk"; tag = "v${finalAttrs.version}"; - hash = "sha256-TGkAyuBcIstL2BCZYBWoi7PhnhoBvap67sLWGe0QUoU="; + hash = "sha256-qvbGyF0PVC626yCgUqOYmA1zOmvI3/bC7l7HhfOtKH8="; }; # time.sleep(0.1) feels a bit optimistic and it has been flaky whilst @@ -139,6 +139,7 @@ buildPythonPackage (finalAttrs: { # Flaky: httpx.ConnectError: All connection attempts failed "test_sse_security_" "test_streamable_http_" + "test_streamablehttp_" # This just feels a bit optimistic... # assert duration < 3 * _sleep_time_seconds From 4146e15c16d9dde85a52c4fd60d03d6f256b2063 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Thu, 18 Jun 2026 07:30:29 +0000 Subject: [PATCH 2/4] python3Packages.mcp: enable __structuredAttrs u --- pkgs/development/python-modules/mcp/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/python-modules/mcp/default.nix b/pkgs/development/python-modules/mcp/default.nix index f804c12f5349..6d6ae50b6d82 100644 --- a/pkgs/development/python-modules/mcp/default.nix +++ b/pkgs/development/python-modules/mcp/default.nix @@ -44,6 +44,7 @@ buildPythonPackage (finalAttrs: { pname = "mcp"; version = "1.27.0"; pyproject = true; + __structuredAttrs = true; src = fetchFromGitHub { owner = "modelcontextprotocol"; From c10948a43a99066b8ee7abd0b56b7e3d41056d75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Attila=20Ol=C3=A1h?= Date: Wed, 17 Jun 2026 16:22:32 +0200 Subject: [PATCH 3/4] python3Packages.fastmcp: 3.2.3 -> 3.2.4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Assisted-by: OpenCode:gpt-5.5-1 Signed-off-by: Attila Oláh --- .../python-modules/fastmcp/default.nix | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/fastmcp/default.nix b/pkgs/development/python-modules/fastmcp/default.nix index 5a82e61c88cf..5bd4e6b47837 100644 --- a/pkgs/development/python-modules/fastmcp/default.nix +++ b/pkgs/development/python-modules/fastmcp/default.nix @@ -15,6 +15,7 @@ azure-identity, cyclopts, exceptiongroup, + griffelib, httpx, jsonref, jsonschema-path, @@ -49,20 +50,21 @@ opentelemetry-sdk, psutil, pytest-asyncio, + pytest-examples, pytest-httpx, pytestCheckHook, }: buildPythonPackage (finalAttrs: { pname = "fastmcp"; - version = "3.2.3"; + version = "3.2.4"; pyproject = true; src = fetchFromGitHub { - owner = "jlowin"; + owner = "PrefectHQ"; repo = "fastmcp"; tag = "v${finalAttrs.version}"; - hash = "sha256-YfFAJvfKLOgfGFWyQmR4FGHrRc066Y0mAYhXJqJ9vyw="; + hash = "sha256-rJpxPvqAaa6/vXhG1+R9dI32cY/54e6I+F/zyBVoqBM="; }; build-system = [ @@ -78,6 +80,7 @@ buildPythonPackage (finalAttrs: { authlib cyclopts exceptiongroup + griffelib httpx jsonref jsonschema-path @@ -129,6 +132,7 @@ buildPythonPackage (finalAttrs: { opentelemetry-sdk psutil pytest-asyncio + pytest-examples pytest-httpx pytestCheckHook writableTmpDirAsHomeHook @@ -165,6 +169,7 @@ buildPythonPackage (finalAttrs: { # Requires prefab-ui (optional dependency) "test_auto_registers_renderer_resource" + "test_auto_synthesizes_renderer_resource" "test_equivalent_to_app_true" # Requires pydocket (tasks optional dependency, not in test inputs) @@ -202,6 +207,7 @@ buildPythonPackage (finalAttrs: { disabledTestPaths = [ # Requires prefab-ui (optional dependency) "tests/apps" + "tests/docs/test_doc_examples.py" "tests/test_apps_prefab.py" "tests/test_fastmcp_app.py" # Subprocess crash recovery tests are flaky in sandbox @@ -224,8 +230,8 @@ buildPythonPackage (finalAttrs: { meta = { description = "Fast, Pythonic way to build MCP servers and clients"; - changelog = "https://github.com/jlowin/fastmcp/releases/tag/${finalAttrs.src.tag}"; - homepage = "https://github.com/jlowin/fastmcp"; + changelog = "https://github.com/PrefectHQ/fastmcp/releases/tag/${finalAttrs.src.tag}"; + homepage = "https://github.com/PrefectHQ/fastmcp"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ GaetanLepage ]; }; From 8b16e7b102de4f78e1faf1d8b78d393097b5d26d Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Thu, 18 Jun 2026 07:30:45 +0000 Subject: [PATCH 4/4] python3Packages.fastmcp: enable __structuredAttrs --- pkgs/development/python-modules/fastmcp/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/python-modules/fastmcp/default.nix b/pkgs/development/python-modules/fastmcp/default.nix index 5bd4e6b47837..531d87fdfc38 100644 --- a/pkgs/development/python-modules/fastmcp/default.nix +++ b/pkgs/development/python-modules/fastmcp/default.nix @@ -59,6 +59,7 @@ buildPythonPackage (finalAttrs: { pname = "fastmcp"; version = "3.2.4"; pyproject = true; + __structuredAttrs = true; src = fetchFromGitHub { owner = "PrefectHQ";