Skip to content

Commit f75383c

Browse files
authored
Merge branch 'master' into ci-pydantic-3.13
2 parents c935a7d + de791bc commit f75383c

File tree

342 files changed

+18294
-8366
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

342 files changed

+18294
-8366
lines changed

β€Ž.github/scripts/check_diff.pyβ€Ž

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -132,21 +132,21 @@ def _get_configs_for_single_dir(job: str, dir_: str) -> List[Dict[str, str]]:
132132
if job == "codspeed":
133133
py_versions = ["3.12"] # 3.13 is not yet supported
134134
elif dir_ == "libs/core":
135-
py_versions = ["3.10", "3.11", "3.12", "3.13"]
135+
py_versions = ["3.10", "3.11", "3.12", "3.13", "3.14"]
136136
# custom logic for specific directories
137137

138138
elif dir_ == "libs/langchain" and job == "extended-tests":
139-
py_versions = ["3.10", "3.13"]
139+
py_versions = ["3.10", "3.14"]
140140
elif dir_ == "libs/langchain_v1":
141141
py_versions = ["3.10", "3.13"]
142-
elif dir_ in {"libs/cli"}:
142+
elif dir_ in {"libs/cli", "libs/partners/chroma", "libs/partners/nomic"}:
143143
py_versions = ["3.10", "3.13"]
144144

145145
elif dir_ == ".":
146146
# unable to install with 3.13 because tokenizers doesn't support 3.13 yet
147147
py_versions = ["3.10", "3.12"]
148148
else:
149-
py_versions = ["3.10", "3.13"]
149+
py_versions = ["3.10", "3.14"]
150150

151151
return [{"working-directory": dir_, "python-version": py_v} for py_v in py_versions]
152152

@@ -306,7 +306,9 @@ def _get_configs_for_multi_dirs(
306306
if not filename.startswith(".")
307307
] != ["README.md"]:
308308
dirs_to_run["test"].add(f"libs/partners/{partner_dir}")
309-
dirs_to_run["codspeed"].add(f"libs/partners/{partner_dir}")
309+
# Skip codspeed for partners without benchmarks or in IGNORED_PARTNERS
310+
if partner_dir not in IGNORED_PARTNERS:
311+
dirs_to_run["codspeed"].add(f"libs/partners/{partner_dir}")
310312
# Skip if the directory was deleted or is just a tombstone readme
311313
elif file.startswith("libs/"):
312314
# Check if this is a root-level file in libs/ (e.g., libs/README.md)

β€ŽAGENTS.mdβ€Ž

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,9 +163,11 @@ def send_email(to: str, msg: str, *, priority: str = "normal") -> bool:
163163
**Documentation Guidelines:**
164164

165165
- Types go in function signatures, NOT in docstrings
166+
- If a default is present, DO NOT repeat it in the docstring unless there is post-processing or it is set conditionally.
166167
- Focus on "why" rather than "what" in descriptions
167168
- Document all parameters, return values, and exceptions
168169
- Keep descriptions concise but clear
170+
- Ensure American English spelling (e.g., "behavior", not "behaviour")
169171

170172
πŸ“Œ *Tip:* Keep descriptions concise but clear. Only document return values if non-obvious.
171173

β€ŽCLAUDE.mdβ€Ž

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,9 +163,11 @@ def send_email(to: str, msg: str, *, priority: str = "normal") -> bool:
163163
**Documentation Guidelines:**
164164

165165
- Types go in function signatures, NOT in docstrings
166+
- If a default is present, DO NOT repeat it in the docstring unless there is post-processing or it is set conditionally.
166167
- Focus on "why" rather than "what" in descriptions
167168
- Document all parameters, return values, and exceptions
168169
- Keep descriptions concise but clear
170+
- Ensure American English spelling (e.g., "behavior", not "behaviour")
169171

170172
πŸ“Œ *Tip:* Keep descriptions concise but clear. Only document return values if non-obvious.
171173

β€ŽMIGRATE.mdβ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
Please see the following guides for migrating LangChain code:
44

5+
* Migrate to [LangChain v1.0](https://docs.langchain.com/oss/python/migrate/langchain-v1)
56
* Migrate to [LangChain v0.3](https://python.langchain.com/docs/versions/v0_3/)
67
* Migrate to [LangChain v0.2](https://python.langchain.com/docs/versions/v0_2/)
78
* Migrating from [LangChain 0.0.x Chains](https://python.langchain.com/docs/versions/migrating_chains/)

β€ŽREADME.mdβ€Ž

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,16 @@
1212

1313
<p align="center">
1414
<a href="https://opensource.org/licenses/MIT" target="_blank">
15-
<img src="https://img.shields.io/pypi/l/langchain-core?style=flat-square" alt="PyPI - License">
15+
<img src="https://img.shields.io/pypi/l/langchain" alt="PyPI - License">
1616
</a>
17-
<a href="https://pypistats.org/packages/langchain-core" target="_blank">
17+
<a href="https://pypistats.org/packages/langchain" target="_blank">
1818
<img src="https://img.shields.io/pepy/dt/langchain" alt="PyPI - Downloads">
1919
</a>
20+
<a href="https://pypi.org/project/langchain/#history" target="_blank">
21+
<img src="https://img.shields.io/pypi/v/langchain?label=%20" alt="Version">
22+
</a>
2023
<a href="https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/langchain-ai/langchain" target="_blank">
21-
<img src="https://img.shields.io/static/v1?label=Dev%20Containers&message=Open&color=blue&logo=visualstudiocode&style=flat-square" alt="Open in Dev Containers">
24+
<img src="https://img.shields.io/static/v1?label=Dev%20Containers&message=Open&color=blue&logo=visualstudiocode" alt="Open in Dev Containers">
2225
</a>
2326
<a href="https://codespaces.new/langchain-ai/langchain" target="_blank">
2427
<img src="https://github.com/codespaces/badge.svg" alt="Open in Github Codespace" title="Open in Github Codespace" width="150" height="20">

β€Žlibs/cli/README.mdβ€Ž

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,30 @@
11
# langchain-cli
22

3-
This package implements the official CLI for LangChain. Right now, it is most useful
4-
for getting started with LangChain Templates!
3+
[![PyPI - Version](https://img.shields.io/pypi/v/langchain-cli?label=%20)](https://pypi.org/project/langchain-cli/#history)
4+
[![PyPI - License](https://img.shields.io/pypi/l/langchain-cli)](https://opensource.org/licenses/MIT)
5+
[![PyPI - Downloads](https://img.shields.io/pepy/dt/langchain-cli)](https://pypistats.org/packages/langchain-cli)
6+
[![Twitter](https://img.shields.io/twitter/url/https/twitter.com/langchainai.svg?style=social&label=Follow%20%40LangChainAI)](https://twitter.com/langchainai)
7+
8+
## Quick Install
9+
10+
```bash
11+
pip install langchain-cli
12+
```
13+
14+
## πŸ€” What is this?
15+
16+
This package implements the official CLI for LangChain. Right now, it is most useful for getting started with LangChain Templates!
17+
18+
## πŸ“– Documentation
519

620
[CLI Docs](https://github.com/langchain-ai/langchain/blob/master/libs/cli/DOCS.md)
21+
22+
## πŸ“• Releases & Versioning
23+
24+
See our [Releases](https://docs.langchain.com/oss/python/release-policy) and [Versioning](https://docs.langchain.com/oss/python/versioning) policies.
25+
26+
## πŸ’ Contributing
27+
28+
As an open-source project in a rapidly developing field, we are extremely open to contributions, whether it be in the form of a new feature, improved infrastructure, or better documentation.
29+
30+
For detailed information on how to contribute, see the [Contributing Guide](https://docs.langchain.com/oss/python/contributing/overview).

0 commit comments

Comments
Β (0)