From f77d6a81435066245d23962b69f1dde11e0ff010 Mon Sep 17 00:00:00 2001 From: natsukium Date: Wed, 22 Jan 2025 12:37:43 +0900 Subject: [PATCH] python312Packages.langchain: skip bulk update --- pkgs/development/python-modules/langchain-aws/default.nix | 2 ++ .../python-modules/langchain-azure-dynamic-sessions/default.nix | 2 ++ pkgs/development/python-modules/langchain-chroma/default.nix | 2 ++ pkgs/development/python-modules/langchain-community/default.nix | 2 ++ pkgs/development/python-modules/langchain-core/default.nix | 2 ++ .../python-modules/langchain-huggingface/default.nix | 2 ++ pkgs/development/python-modules/langchain-mongodb/default.nix | 2 ++ pkgs/development/python-modules/langchain-ollama/default.nix | 2 ++ pkgs/development/python-modules/langchain-openai/default.nix | 2 ++ .../python-modules/langchain-text-splitters/default.nix | 2 ++ pkgs/development/python-modules/langchain/default.nix | 2 ++ 11 files changed, 22 insertions(+) diff --git a/pkgs/development/python-modules/langchain-aws/default.nix b/pkgs/development/python-modules/langchain-aws/default.nix index 1f2902b15b59..a2fbe8323182 100644 --- a/pkgs/development/python-modules/langchain-aws/default.nix +++ b/pkgs/development/python-modules/langchain-aws/default.nix @@ -66,6 +66,8 @@ buildPythonPackage rec { passthru = { inherit (langchain-core) updateScript; + # updates the wrong fetcher rev attribute + skipBulkUpdate = true; }; meta = { diff --git a/pkgs/development/python-modules/langchain-azure-dynamic-sessions/default.nix b/pkgs/development/python-modules/langchain-azure-dynamic-sessions/default.nix index c66ac3e257ad..d38b2c604000 100644 --- a/pkgs/development/python-modules/langchain-azure-dynamic-sessions/default.nix +++ b/pkgs/development/python-modules/langchain-azure-dynamic-sessions/default.nix @@ -67,6 +67,8 @@ buildPythonPackage rec { passthru = { inherit (langchain-core) updateScript; + # updates the wrong fetcher rev attribute + skipBulkUpdate = true; }; meta = { diff --git a/pkgs/development/python-modules/langchain-chroma/default.nix b/pkgs/development/python-modules/langchain-chroma/default.nix index a9edede538b5..53641f07cf33 100644 --- a/pkgs/development/python-modules/langchain-chroma/default.nix +++ b/pkgs/development/python-modules/langchain-chroma/default.nix @@ -52,6 +52,8 @@ buildPythonPackage rec { passthru = { inherit (langchain-core) updateScript; + # updates the wrong fetcher rev attribute + skipBulkUpdate = true; }; meta = { diff --git a/pkgs/development/python-modules/langchain-community/default.nix b/pkgs/development/python-modules/langchain-community/default.nix index 82370da5f926..5a6ffe34c2be 100644 --- a/pkgs/development/python-modules/langchain-community/default.nix +++ b/pkgs/development/python-modules/langchain-community/default.nix @@ -98,6 +98,8 @@ buildPythonPackage rec { passthru = { inherit (langchain-core) updateScript; + # updates the wrong fetcher rev attribute + skipBulkUpdate = true; }; __darwinAllowLocalNetworking = true; diff --git a/pkgs/development/python-modules/langchain-core/default.nix b/pkgs/development/python-modules/langchain-core/default.nix index 49c3dbf3c2d5..d1a5c9f77b64 100644 --- a/pkgs/development/python-modules/langchain-core/default.nix +++ b/pkgs/development/python-modules/langchain-core/default.nix @@ -110,6 +110,8 @@ buildPythonPackage rec { nix-update --commit --version-regex 'langchain-mongodb==(.*)' python3Packages.langchain-mongodb nix-update --commit --version-regex 'langchain-openai==(.*)' python3Packages.langchain-openai ''; + # updates the wrong fetcher rev attribute + skipBulkUpdate = true; }; disabledTests = diff --git a/pkgs/development/python-modules/langchain-huggingface/default.nix b/pkgs/development/python-modules/langchain-huggingface/default.nix index f191347cbcbf..1ed4271ad784 100644 --- a/pkgs/development/python-modules/langchain-huggingface/default.nix +++ b/pkgs/development/python-modules/langchain-huggingface/default.nix @@ -73,6 +73,8 @@ buildPythonPackage rec { passthru = { inherit (langchain-core) updateScript; + # updates the wrong fetcher rev attribute + skipBulkUpdate = true; }; meta = { diff --git a/pkgs/development/python-modules/langchain-mongodb/default.nix b/pkgs/development/python-modules/langchain-mongodb/default.nix index 2a1b2354276c..dbe90af0c79d 100644 --- a/pkgs/development/python-modules/langchain-mongodb/default.nix +++ b/pkgs/development/python-modules/langchain-mongodb/default.nix @@ -62,6 +62,8 @@ buildPythonPackage rec { passthru = { inherit (langchain-core) updateScript; + # updates the wrong fetcher rev attribute + skipBulkUpdate = true; }; meta = { diff --git a/pkgs/development/python-modules/langchain-ollama/default.nix b/pkgs/development/python-modules/langchain-ollama/default.nix index f4eebf394d94..22d33a192032 100644 --- a/pkgs/development/python-modules/langchain-ollama/default.nix +++ b/pkgs/development/python-modules/langchain-ollama/default.nix @@ -56,6 +56,8 @@ buildPythonPackage rec { "--version-regex" "langchain-ollama==(.*)" ]; + # updates the wrong fetcher rev attribute + skipBulkUpdate = true; }; meta = { diff --git a/pkgs/development/python-modules/langchain-openai/default.nix b/pkgs/development/python-modules/langchain-openai/default.nix index ab05ff93820c..14530258f51a 100644 --- a/pkgs/development/python-modules/langchain-openai/default.nix +++ b/pkgs/development/python-modules/langchain-openai/default.nix @@ -91,6 +91,8 @@ buildPythonPackage rec { passthru = { inherit (langchain-core) updateScript; + # updates the wrong fetcher rev attribute + skipBulkUpdate = true; }; meta = { diff --git a/pkgs/development/python-modules/langchain-text-splitters/default.nix b/pkgs/development/python-modules/langchain-text-splitters/default.nix index 9e546b7c09cb..e3088d5acccb 100644 --- a/pkgs/development/python-modules/langchain-text-splitters/default.nix +++ b/pkgs/development/python-modules/langchain-text-splitters/default.nix @@ -45,6 +45,8 @@ buildPythonPackage rec { passthru = { inherit (langchain-core) updateScript; + # updates the wrong fetcher rev attribute + skipBulkUpdate = true; }; meta = { diff --git a/pkgs/development/python-modules/langchain/default.nix b/pkgs/development/python-modules/langchain/default.nix index 6723d53d9f10..5a8988e7793c 100644 --- a/pkgs/development/python-modules/langchain/default.nix +++ b/pkgs/development/python-modules/langchain/default.nix @@ -136,6 +136,8 @@ buildPythonPackage rec { passthru = { updateScript = langchain-core.updateScript; + # updates the wrong fetcher rev attribute + skipBulkUpdate = true; }; meta = {