Merge pull request #232542 from natsukium/langchain/update

python3Packages.langchain: 0.0.170 -> 0.0.179

authored by Weijia Wang and committed by GitHub 71b17dd1 0fc80fcb

+23 -5
+23 -5
pkgs/development/python-modules/langchain/default.nix
··· 52 , duckduckgo-search 53 , lark 54 , jq 55 - , protobuf 56 , steamship 57 , pdfminer-six 58 , lxml 59 # test dependencies 60 , pytest-vcr 61 , pytest-asyncio 62 , pytest-mock 63 , pandas 64 , toml 65 , freezegun ··· 70 71 buildPythonPackage rec { 72 pname = "langchain"; 73 - version = "0.0.170"; 74 format = "pyproject"; 75 76 disabled = pythonOlder "3.8"; ··· 79 owner = "hwchase17"; 80 repo = "langchain"; 81 rev = "refs/tags/v${version}"; 82 - hash = "sha256-0hV8X1c+vMJlynNud//hb164oTYmYlsmeSM4dKwC0G4="; 83 }; 84 85 postPatch = '' ··· 129 openai = [ 130 openai 131 ]; 132 cohere = [ 133 cohere 134 ]; 135 embeddings = [ 136 sentence-transformers 137 ]; ··· 189 # clickhouse-connect 190 azure-cosmos 191 # lancedb 192 lark 193 pexpect 194 # pyvespa 195 # O365 196 jq 197 # docarray 198 - protobuf 199 - # hnswlib 200 steamship 201 pdfminer-six 202 lxml 203 ]; 204 }; 205 ··· 207 pytestCheckHook 208 pytest-vcr 209 pytest-mock 210 pytest-asyncio 211 pandas 212 toml ··· 223 # these tests have db access 224 "test_table_info" 225 "test_sql_database_run" 226 ]; 227 228 meta = with lib; {
··· 52 , duckduckgo-search 53 , lark 54 , jq 55 , steamship 56 , pdfminer-six 57 , lxml 58 + , chardet 59 + , requests-toolbelt 60 + , neo4j 61 # test dependencies 62 , pytest-vcr 63 , pytest-asyncio 64 , pytest-mock 65 + , pytest-socket 66 , pandas 67 , toml 68 , freezegun ··· 73 74 buildPythonPackage rec { 75 pname = "langchain"; 76 + version = "0.0.179"; 77 format = "pyproject"; 78 79 disabled = pythonOlder "3.8"; ··· 82 owner = "hwchase17"; 83 repo = "langchain"; 84 rev = "refs/tags/v${version}"; 85 + hash = "sha256-9MotnDsDXwdwVGuD3sO+FFWluPCHHXkQRH0B1zskLZg="; 86 }; 87 88 postPatch = '' ··· 132 openai = [ 133 openai 134 ]; 135 + text_helpers = [ 136 + chardet 137 + ]; 138 cohere = [ 139 cohere 140 ]; 141 + docarray = [ 142 + # docarray 143 + ]; 144 embeddings = [ 145 sentence-transformers 146 ]; ··· 198 # clickhouse-connect 199 azure-cosmos 200 # lancedb 201 + # langkit 202 lark 203 pexpect 204 # pyvespa 205 # O365 206 jq 207 # docarray 208 steamship 209 pdfminer-six 210 lxml 211 + requests-toolbelt 212 + neo4j 213 + # openlm 214 + # azure-ai-formrecognizer 215 + # azure-ai-vision 216 + # azure-cognitiveservices-speech 217 ]; 218 }; 219 ··· 221 pytestCheckHook 222 pytest-vcr 223 pytest-mock 224 + pytest-socket 225 pytest-asyncio 226 pandas 227 toml ··· 238 # these tests have db access 239 "test_table_info" 240 "test_sql_database_run" 241 + 242 + # these tests have network access 243 + "test_socket_disabled" 244 ]; 245 246 meta = with lib; {