Skip to content

The agent engineering platform.

chore: add `libs/` note (#33238)

Mason Daughertybba37bd6beac
diff --git a/.github/scripts/check_diff.py b/.github/scripts/check_diff.py
index 54ebd591db..a8d4d24d93 100644
--- a/.github/scripts/check_diff.py
+++ b/.github/scripts/check_diff.py
@@ -50,10 +50,6 @@ IGNORED_PARTNERS = [
"prompty",
]
-PY_312_MAX_PACKAGES = [
- "libs/partners/chroma", # https://github.com/chroma-core/chroma/issues/4382
-]
-
def all_package_dirs() -> Set[str]:
return {
@@ -139,9 +135,6 @@ def _get_configs_for_single_dir(job: str, dir_: str) -> List[Dict[str, str]]:
py_versions = ["3.10", "3.11", "3.12", "3.13"]
# custom logic for specific directories
- elif dir_ in PY_312_MAX_PACKAGES:
- py_versions = ["3.10", "3.12"]
-
elif dir_ == "libs/langchain" and job == "extended-tests":
py_versions = ["3.10", "3.13"]
elif dir_ == "libs/langchain_v1":
@@ -310,6 +303,11 @@ if __name__ == "__main__":
dirs_to_run["codspeed"].add(f"libs/partners/{partner_dir}")
# Skip if the directory was deleted or is just a tombstone readme
elif file.startswith("libs/"):
+ # Check if this is a root-level file in libs/ (e.g., libs/README.md)
+ file_parts = file.split("/")
+ if len(file_parts) == 2:
+ # Root-level file in libs/, skip it (no tests needed)
+ continue
raise ValueError(
f"Unknown lib: {file}. check_diff.py likely needs "
"an update for this new library!"
diff --git a/libs/README.md b/libs/README.md
new file mode 100644
index 0000000000..189c7d8fc5
--- /dev/null
+++ b/libs/README.md
@@ -0,0 +1,2 @@
+> [!IMPORTANT]
+> [**View all LangChain integrations packages**](https://docs.langchain.com/oss/python/integrations/providers)