python3Packages.langgraph-experimental: drop (#523292)
This commit is contained in:
@@ -1,13 +0,0 @@
|
||||
diff --git a/tests/unit_tests/test_bash.py b/tests/unit_tests/test_bash.py
|
||||
index ba7b0d0..cade19e 100644
|
||||
--- a/tests/unit_tests/test_bash.py
|
||||
+++ b/tests/unit_tests/test_bash.py
|
||||
@@ -58,7 +58,7 @@ def test_incorrect_command_return_err_output() -> None:
|
||||
session = BashProcess(return_err_output=True)
|
||||
output = session.run(["invalid_command"])
|
||||
assert re.match(
|
||||
- r"^/bin/sh:.*invalid_command.*(?:not found|Permission denied).*$", output
|
||||
+ r".*/bin/sh:.*invalid_command.*(?:not found|Permission denied).*$", output
|
||||
)
|
||||
|
||||
|
||||
@@ -1,87 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pythonAtLeast,
|
||||
|
||||
# build-system
|
||||
pdm-backend,
|
||||
|
||||
# dependencies
|
||||
langchain-core,
|
||||
langchain-community,
|
||||
|
||||
# testing
|
||||
langchain-tests,
|
||||
pytestCheckHook,
|
||||
|
||||
# passthru
|
||||
gitUpdater,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "langchain-experimental";
|
||||
version = "0.4.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "langchain-ai";
|
||||
repo = "langchain-experimental";
|
||||
tag = "libs/experimental/v${version}";
|
||||
hash = "sha256-3hz63DCoym2V4b6Wzi0eH+B8mvGu7pqRNj3Ltk04UTk=";
|
||||
};
|
||||
|
||||
sourceRoot = "${src.name}/libs/experimental";
|
||||
|
||||
patches = [
|
||||
# Remove it when https://github.com/langchain-ai/langchain-experimental/pull/58 is merged and released
|
||||
./001-avoid-check-fullpath.patch
|
||||
];
|
||||
|
||||
build-system = [
|
||||
pdm-backend
|
||||
];
|
||||
|
||||
pythonRelaxDeps = [
|
||||
# Each component release requests the exact latest core.
|
||||
# That prevents us from updating individual components.
|
||||
"langchain-core"
|
||||
"langchain-community"
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
langchain-core
|
||||
langchain-community
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
langchain-tests
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
enabledTestPaths = [ "tests/unit_tests" ];
|
||||
|
||||
pythonImportsCheck = [ "langchain_experimental" ];
|
||||
|
||||
disabledTests = lib.optionals (pythonAtLeast "3.14") [
|
||||
# AttributeError: module 'ast' has no attribute 'Str'
|
||||
# https://github.com/langchain-ai/langchain-community/issues/492
|
||||
"test_color_question_1"
|
||||
"test_color_question_2"
|
||||
];
|
||||
|
||||
passthru.updateScript = gitUpdater {
|
||||
rev-prefix = "libs/experimental/v";
|
||||
};
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/langchain-ai/langchain-experimental/releases/tag/${src.tag}";
|
||||
description = "Experimental features for LangChain";
|
||||
homepage = "https://github.com/langchain-ai/langchain-experimental/tree/main/libs/experimental";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [
|
||||
mrdev023
|
||||
sarahec
|
||||
];
|
||||
};
|
||||
}
|
||||
@@ -303,6 +303,7 @@ mapAliases {
|
||||
keyrings-passwordstore = throw "keyrings-passwordstore has been removed because it has been marked as broken since at least November 2024."; # Added 2025-10-03
|
||||
kivy-garden-modernmenu = throw "kivy-garden-modernmenu has been removed as it's abandoned since 2019"; # added 2025-05-25
|
||||
konnected = throw "konnected has been removed, because the home-assistant integration that required it has been deprecated and removed. See https://support.konnected.io/migrating-from-konnected-legacy-home-assistant-integration-to-esphome."; # Added 2026-06-04
|
||||
langchain-experimental = throw "'langchain-experimental' has been removed because the upstream repository was archived in 2026-05-26"; # Added 2026-05-27
|
||||
langchain-standard-tests = throw "'langchain-standard-tests' has been renamed to/replaced by 'langchain-tests'"; # Converted to throw 2025-10-29
|
||||
langchainplus-sdk = throw "'langchainplus-sdk' has been renamed to/replaced by 'langsmith'"; # Converted to throw 2025-10-29
|
||||
lazr_config = throw "'lazr_config' has been renamed to/replaced by 'lazr-config'"; # Converted to throw 2025-10-29
|
||||
|
||||
@@ -8593,8 +8593,6 @@ self: super: with self; {
|
||||
|
||||
langchain-deepseek = callPackage ../development/python-modules/langchain-deepseek { };
|
||||
|
||||
langchain-experimental = callPackage ../development/python-modules/langchain-experimental { };
|
||||
|
||||
langchain-fireworks = callPackage ../development/python-modules/langchain-fireworks { };
|
||||
|
||||
langchain-google-genai = callPackage ../development/python-modules/langchain-google-genai { };
|
||||
|
||||
Reference in New Issue
Block a user