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