Skip to content

Commit bba37bd

Browse files
authored
chore: add libs/ note (#33238)
1 parent b051ff4 commit bba37bd

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/scripts/check_diff.py

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,6 @@
5050
"prompty",
5151
]
5252

53-
PY_312_MAX_PACKAGES = [
54-
"libs/partners/chroma", # https://github.com/chroma-core/chroma/issues/4382
55-
]
56-
5753

5854
def all_package_dirs() -> Set[str]:
5955
return {
@@ -139,9 +135,6 @@ def _get_configs_for_single_dir(job: str, dir_: str) -> List[Dict[str, str]]:
139135
py_versions = ["3.10", "3.11", "3.12", "3.13"]
140136
# custom logic for specific directories
141137

142-
elif dir_ in PY_312_MAX_PACKAGES:
143-
py_versions = ["3.10", "3.12"]
144-
145138
elif dir_ == "libs/langchain" and job == "extended-tests":
146139
py_versions = ["3.10", "3.13"]
147140
elif dir_ == "libs/langchain_v1":
@@ -310,6 +303,11 @@ def _get_configs_for_multi_dirs(
310303
dirs_to_run["codspeed"].add(f"libs/partners/{partner_dir}")
311304
# Skip if the directory was deleted or is just a tombstone readme
312305
elif file.startswith("libs/"):
306+
# Check if this is a root-level file in libs/ (e.g., libs/README.md)
307+
file_parts = file.split("/")
308+
if len(file_parts) == 2:
309+
# Root-level file in libs/, skip it (no tests needed)
310+
continue
313311
raise ValueError(
314312
f"Unknown lib: {file}. check_diff.py likely needs "
315313
"an update for this new library!"

libs/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
> [!IMPORTANT]
2+
> [**View all LangChain integrations packages**](https://docs.langchain.com/oss/python/integrations/providers)

0 commit comments

Comments
 (0)