From 796cee143b677f00e8137130697f88aef6b4bf38 Mon Sep 17 00:00:00 2001 From: Sara Robinson Date: Thu, 4 Jun 2026 13:58:05 -0700 Subject: [PATCH] chore: Add AgentPlatform SDK langchain tests for python 3.12 and 3.13 PiperOrigin-RevId: 926872989 --- .kokoro/presubmit/unit_langchain_py312.cfg | 13 +++++++++++++ .kokoro/presubmit/unit_langchain_py313.cfg | 13 +++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 .kokoro/presubmit/unit_langchain_py312.cfg create mode 100644 .kokoro/presubmit/unit_langchain_py313.cfg diff --git a/.kokoro/presubmit/unit_langchain_py312.cfg b/.kokoro/presubmit/unit_langchain_py312.cfg new file mode 100644 index 0000000000..71dd95ec74 --- /dev/null +++ b/.kokoro/presubmit/unit_langchain_py312.cfg @@ -0,0 +1,13 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Run unit tests for LangChain on Python 3.12 +env_vars: { + key: "NOX_SESSION" + value: "unit_langchain-3.12" +} + +# Run unit tests in parallel, splitting up by file +env_vars: { + key: "PYTEST_ADDOPTS" + value: "-n=auto --dist=loadscope" +} diff --git a/.kokoro/presubmit/unit_langchain_py313.cfg b/.kokoro/presubmit/unit_langchain_py313.cfg new file mode 100644 index 0000000000..4a72c4ad5b --- /dev/null +++ b/.kokoro/presubmit/unit_langchain_py313.cfg @@ -0,0 +1,13 @@ +# Format: //devtools/kokoro/config/proto/build.proto + +# Run unit tests for LangChain on Python 3.13 +env_vars: { + key: "NOX_SESSION" + value: "unit_langchain-3.13" +} + +# Run unit tests in parallel, splitting up by file +env_vars: { + key: "PYTEST_ADDOPTS" + value: "-n=auto --dist=loadscope" +}