You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pkgs/development/python-modules/langchain-community/default.nix
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -53,6 +53,7 @@ buildPythonPackage rec {
53
53
build-system=[poetry-core];
54
54
55
55
pythonRelaxDeps=[
56
+
"numpy"
56
57
"pydantic-settings"
57
58
"tenacity"
58
59
];
@@ -107,6 +108,12 @@ buildPythonPackage rec {
107
108
# See https://github.com/NixOS/nixpkgs/pull/326337 and https://github.com/wasmerio/wasmer-python/issues/778
108
109
"test_table_info"
109
110
"test_sql_database_run"
111
+
# pydantic.errors.PydanticUserError: `SQLDatabaseToolkit` is not fully defined; you should define `BaseCache`, then call `SQLDatabaseToolkit.model_rebuild()`.
112
+
"test_create_sql_agent"
113
+
# pydantic.errors.PydanticUserError: `NatBotChain` is not fully defined; you should define `BaseCache`, then call `NatBotChain.model_rebuild()`.
114
+
"test_proper_inputs"
115
+
# pydantic.errors.PydanticUserError: `NatBotChain` is not fully defined; you should define `BaseCache`, then call `NatBotChain.model_rebuild()`.
Copy file name to clipboardExpand all lines: pkgs/development/python-modules/langchain/default.nix
+19-1Lines changed: 19 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -59,7 +59,10 @@ buildPythonPackage rec {
59
59
60
60
buildInputs=[bash];
61
61
62
-
pythonRelaxDeps=["tenacity"];
62
+
pythonRelaxDeps=[
63
+
"numpy"
64
+
"tenacity"
65
+
];
63
66
64
67
dependencies=[
65
68
aiohttp
@@ -118,6 +121,21 @@ buildPythonPackage rec {
118
121
"test_aliases_hidden"
119
122
];
120
123
124
+
disabledTestPaths=[
125
+
# pydantic.errors.PydanticUserError: `ConversationSummaryMemory` is not fully defined; you should define `BaseCache`, then call `ConversationSummaryMemory.model_rebuild()`.
126
+
"tests/unit_tests/chains/test_conversation.py"
127
+
# pydantic.errors.PydanticUserError: `ConversationSummaryMemory` is not fully defined; you should define `BaseCache`, then call `ConversationSummaryMemory.model_rebuild()`.
128
+
"tests/unit_tests/chains/test_memory.py"
129
+
# pydantic.errors.PydanticUserError: `ConversationSummaryBufferMemory` is not fully defined; you should define `BaseCache`, then call `ConversationSummaryBufferMemory.model_rebuild()`.
# TypeError: Can't instantiate abstract class RunnableSerializable[RetryOutputParserRetryChainInput, str] without an implementation for abstract method 'invoke'
134
+
"tests/unit_tests/output_parsers/test_retry.py"
135
+
# pydantic.errors.PydanticUserError: `LLMSummarizationCheckerChain` is not fully defined; you should define `BaseCache`, then call `LLMSummarizationCheckerChain.model_rebuild()`.
0 commit comments