arcade-mcp/contrib/langchain/langchain_arcade/__init__.py
Eric Gustin 10fd728fcf
Deprecate langchain-arcade (#761)
<!-- CURSOR_SUMMARY -->
> [!NOTE]
> **Medium Risk**
> This is mostly a packaging/documentation change, but it is a breaking
change because the integration code and dependencies are removed, so any
consumers importing `ToolManager`/`AsyncToolManager` will fail at
runtime.
> 
> **Overview**
> Marks `langchain-arcade` as **deprecated/inactive** and strips it down
to a stub package.
> 
> The PR removes the LangChain/LangGraph integration implementation
(`manager.py`, `_utilities.py`), tests, and local dev tooling
(`Makefile`, `tox.ini`), and updates `README.md` to a deprecation notice
pointing users to `docs.arcade.dev`.
> 
> `pyproject.toml` is bumped to `2.0.0`, clears dependencies, and
updates metadata/URLs; importing `langchain_arcade` now only emits a
`DeprecationWarning` and exports nothing.
> 
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
d3db1346f6399af90dcc516ffe3755bf26cb6f87. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
2026-02-03 15:33:43 -08:00

17 lines
523 B
Python

import warnings
warnings.warn(
"\n" + "=" * 70 + "\n"
"DEPRECATION NOTICE: langchain-arcade is no longer maintained.\n"
"\n"
"This package has been deprecated. Please visit https://docs.arcade.dev\n"
"for the latest documentation on integrating Arcade tools into your\n"
"applications.\n"
"\n"
"Arcade now supports MCP (Model Context Protocol) and direct API\n"
"integration via the Arcade Python SDK.\n" + "=" * 70,
DeprecationWarning,
stacklevel=2,
)
__all__: list[str] = []