From cfdcf0720684a8ee898e5c719d816d8986f11913 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Wed, 5 Mar 2025 14:58:47 +0100 Subject: [PATCH 1/2] python312Packages.testcontainers: 4.9.1 -> 4.9.2 Diff: https://github.com/testcontainers/testcontainers-python/compare/refs/tags/testcontainers-v4.9.1...testcontainers-v4.9.2 Changelog: https://github.com/testcontainers/testcontainers-python/releases/tag/testcontainers-v4.9.2 --- pkgs/development/python-modules/testcontainers/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/testcontainers/default.nix b/pkgs/development/python-modules/testcontainers/default.nix index 77f9639c4bac..55caec1b9afc 100644 --- a/pkgs/development/python-modules/testcontainers/default.nix +++ b/pkgs/development/python-modules/testcontainers/default.nix @@ -16,14 +16,14 @@ buildPythonPackage rec { pname = "testcontainers"; - version = "4.9.1"; + version = "4.9.2"; pyproject = true; src = fetchFromGitHub { owner = "testcontainers"; repo = "testcontainers-python"; tag = "testcontainers-v${version}"; - hash = "sha256-qbOtsENvPl+l2ODGyuxmiAoJwU4EIACu1GW5GPP207c="; + hash = "sha256-yLoMxRh5hdypwYAimCjOM+C1oaOZGyMj7FsQ2SkapOM="; }; postPatch = '' From 82c4fb10d17a7bf8d6dddb6ee5b05b72e99d3ef8 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Wed, 5 Mar 2025 19:31:51 +0100 Subject: [PATCH 2/2] python312Packages.mcp: allow network access on darwin to fix tests --- pkgs/development/python-modules/mcp/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/python-modules/mcp/default.nix b/pkgs/development/python-modules/mcp/default.nix index 4862c9cc7d95..0cd8d583e6b2 100644 --- a/pkgs/development/python-modules/mcp/default.nix +++ b/pkgs/development/python-modules/mcp/default.nix @@ -75,6 +75,8 @@ buildPythonPackage rec { "test_command_execution" ]; + __darwinAllowLocalNetworking = true; + meta = { changelog = "https://github.com/modelcontextprotocol/python-sdk/releases/tag/${src.tag}"; description = "Official Python SDK for Model Context Protocol servers and clients";