Skip to content

Commit af74eba

Browse files
Jacksunweicopybara-github
authored andcommitted
test: Skips test_langchain_tool.py temporarily after their new 1.0.0 release breaks existings deps of langchain
PiperOrigin-RevId: 820875043
1 parent dbd818b commit af74eba

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

tests/unittests/tools/test_langchain_tool.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,22 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15+
import pytest
16+
17+
# TODO: Re-enable this test after verifying LangchainTool and
18+
# LangGraphAgent against langchain's 1.0.0 release.
19+
pytest.skip(
20+
allow_module_level=True,
21+
reason="Langchain just made 1.0.0 release that breaks existing import.",
22+
)
23+
24+
1525
from unittest.mock import MagicMock
1626

1727
from google.adk.tools.langchain_tool import LangchainTool
1828
from langchain.tools import tool
1929
from langchain_core.tools.structured import StructuredTool
2030
from pydantic import BaseModel
21-
import pytest
2231

2332

2433
@tool

0 commit comments

Comments
 (0)