From 8590b421c4344b746441e86318cd9b86ca88d404 Mon Sep 17 00:00:00 2001 From: Erick Friis Date: Tue, 3 Sep 2024 11:06:45 -0700 Subject: [PATCH] infra: ignore core dependents for 0.3rc (#25980) --- .github/scripts/check_diff.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/scripts/check_diff.py b/.github/scripts/check_diff.py index e10c152ef25..6ba6d6221ca 100644 --- a/.github/scripts/check_diff.py +++ b/.github/scripts/check_diff.py @@ -16,6 +16,10 @@ LANGCHAIN_DIRS = [ "libs/experimental", ] +# for 0.3rc, we are ignoring core dependents +# in order to be able to get CI to pass for individual PRs. +IGNORE_CORE_DEPENDENTS = True + # ignored partners are removed from dependents # but still run if directly edited IGNORED_PARTNERS = [ @@ -93,7 +97,8 @@ def add_dependents(dirs_to_eval: Set[str], dependents: dict) -> List[str]: for dir_ in dirs_to_eval: # handle core manually because it has so many dependents if "core" in dir_: - updated.add(dir_) + if not IGNORE_CORE_DEPENDENTS: + updated.add(dir_) continue pkg = "langchain-" + dir_.split("/")[-1] updated.update(dependents[pkg])