python3Packages.langchain-community: 0.3.22 -> 0.3.24 (#408199)

authored by Pol Dellaiera and committed by GitHub 20dbed8a e3e0deee

+21 -23
+21 -23
pkgs/development/python-modules/langchain-community/default.nix
··· 23 24 # tests 25 blockbuster, 26 httpx, 27 langchain-tests, 28 lark, ··· 38 39 buildPythonPackage rec { 40 pname = "langchain-community"; 41 - version = "0.3.22"; 42 pyproject = true; 43 44 src = fetchFromGitHub { 45 owner = "langchain-ai"; 46 - repo = "langchain"; 47 - tag = "langchain-community==${version}"; 48 - hash = "sha256-fotu3vUCWnAVyjFjsIUjk1If81yQ3/YLj26PksmnvGE="; 49 }; 50 51 sourceRoot = "${src.name}/libs/community"; ··· 62 "tenacity" 63 ]; 64 65 dependencies = [ 66 aiohttp 67 dataclasses-json ··· 76 sqlalchemy 77 tenacity 78 ]; 79 pythonImportsCheck = [ "langchain_community" ]; 80 81 nativeCheckInputs = [ 82 blockbuster 83 httpx 84 langchain-tests 85 lark ··· 93 toml 94 ]; 95 96 - pytestFlagsArray = [ "tests/unit_tests" ]; 97 98 __darwinAllowLocalNetworking = true; 99 100 disabledTests = [ 101 - # Test require network access 102 - "test_ovhcloud_embed_documents" 103 - "test_yandex" 104 - "test_table_info" 105 - "test_sql_database_run" 106 - # pydantic.errors.PydanticUserError: `SQLDatabaseToolkit` is not fully defined; you should define `BaseCache`, then call `SQLDatabaseToolkit.model_rebuild()`. 107 - "test_create_sql_agent" 108 - # pydantic.errors.PydanticUserError: `NatBotChain` is not fully defined; you should define `BaseCache`, then call `NatBotChain.model_rebuild()`. 109 - "test_proper_inputs" 110 - # pydantic.errors.PydanticUserError: `NatBotChain` is not fully defined; you should define `BaseCache`, then call `NatBotChain.model_rebuild()`. 111 - "test_variable_key_naming" 112 - # Tests against magic values in dict 113 - "test_serializable_mapping" 114 ]; 115 116 disabledTestPaths = [ 117 - # ValueError: Received unsupported arguments {'strict': None} 118 - "tests/unit_tests/chat_models/test_cloudflare_workersai.py" 119 # depends on Pydantic v1 notations, will not load 120 "tests/unit_tests/document_loaders/test_gitbook.py" 121 ]; ··· 123 passthru.updateScript = nix-update-script { 124 extraArgs = [ 125 "--version-regex" 126 - "langchain-community==([0-9.]+)" 127 ]; 128 }; 129 130 meta = { 131 - changelog = "https://github.com/langchain-ai/langchain/releases/tag/langchain-community==${version}"; 132 description = "Community contributed LangChain integrations"; 133 - homepage = "https://github.com/langchain-ai/langchain/tree/master/libs/community"; 134 license = lib.licenses.mit; 135 maintainers = with lib.maintainers; [ 136 natsukium
··· 23 24 # tests 25 blockbuster, 26 + duckdb, 27 + duckdb-engine, 28 httpx, 29 langchain-tests, 30 lark, ··· 40 41 buildPythonPackage rec { 42 pname = "langchain-community"; 43 + version = "0.3.24"; 44 pyproject = true; 45 46 src = fetchFromGitHub { 47 owner = "langchain-ai"; 48 + repo = "langchain-community"; 49 + tag = "libs/community/v${version}"; 50 + hash = "sha256-4Rcczuz7tCb10HPvO15n48DBKjVBLXNPdRfD4lRKNGk="; 51 }; 52 53 sourceRoot = "${src.name}/libs/community"; ··· 64 "tenacity" 65 ]; 66 67 + pythonRemoveDeps = [ 68 + "bs4" 69 + ]; 70 + 71 dependencies = [ 72 aiohttp 73 dataclasses-json ··· 82 sqlalchemy 83 tenacity 84 ]; 85 + 86 pythonImportsCheck = [ "langchain_community" ]; 87 88 nativeCheckInputs = [ 89 blockbuster 90 + duckdb 91 + duckdb-engine 92 httpx 93 langchain-tests 94 lark ··· 102 toml 103 ]; 104 105 + pytestFlagsArray = [ 106 + "tests/unit_tests" 107 + ]; 108 109 __darwinAllowLocalNetworking = true; 110 111 disabledTests = [ 112 + # requires bs4, aka BeautifulSoup 113 + "test_importable_all" 114 ]; 115 116 disabledTestPaths = [ 117 # depends on Pydantic v1 notations, will not load 118 "tests/unit_tests/document_loaders/test_gitbook.py" 119 ]; ··· 121 passthru.updateScript = nix-update-script { 122 extraArgs = [ 123 "--version-regex" 124 + "libs/community/v([0-9.]+)" 125 ]; 126 }; 127 128 meta = { 129 description = "Community contributed LangChain integrations"; 130 + homepage = "https://github.com/langchain-ai/langchain-community"; 131 + changelog = "https://github.com/langchain-ai/langchain-community/releases/tag/libs%2Fcommunity%2fv${version}"; 132 license = lib.licenses.mit; 133 maintainers = with lib.maintainers; [ 134 natsukium