From 6702699abd89d1ba5139dd9c0af44cb0607f1eb1 Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Tue, 9 Jun 2026 14:40:39 -0700 Subject: [PATCH] python3Packages.langchain-ollama: update check inputs --- .../python-modules/langchain-ollama/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/development/python-modules/langchain-ollama/default.nix b/pkgs/development/python-modules/langchain-ollama/default.nix index 1614d8f7bd8c..7e2601530d6b 100644 --- a/pkgs/development/python-modules/langchain-ollama/default.nix +++ b/pkgs/development/python-modules/langchain-ollama/default.nix @@ -2,6 +2,7 @@ lib, buildPythonPackage, fetchFromGitHub, + stdenv, # build-system hatchling, @@ -14,6 +15,7 @@ langchain-tests, pytestCheckHook, pytest-asyncio, + pytest-socket, syrupy, # passthru @@ -53,11 +55,17 @@ buildPythonPackage rec { langchain-tests pytestCheckHook pytest-asyncio + pytest-socket syrupy ]; enabledTestPaths = [ "tests/unit_tests" ]; + disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [ + # Darwin prevents the expected shell from spawning to run this + "test_standard_params_model_override" + ]; + pythonImportsCheck = [ "langchain_ollama" ]; passthru = {