Skip to content

The agent engineering platform.

ci(infra): test CodSpeed with Python 3.13 (#33599)

Christophe Bornet3391168777c5
diff --git a/.github/scripts/check_diff.py b/.github/scripts/check_diff.py
index b452e33f17..330ffb1356 100644
--- a/.github/scripts/check_diff.py
+++ b/.github/scripts/check_diff.py
@@ -130,7 +130,7 @@ def _get_configs_for_single_dir(job: str, dir_: str) -> List[Dict[str, str]]:
return _get_pydantic_test_configs(dir_)
if job == "codspeed":
- py_versions = ["3.12"] # 3.13 is not yet supported
+ py_versions = ["3.13"]
elif dir_ == "libs/core":
py_versions = ["3.10", "3.11", "3.12", "3.13", "3.14"]
# custom logic for specific directories
diff --git a/.github/workflows/check_diffs.yml b/.github/workflows/check_diffs.yml
index 5f13885935..55de7f9576 100644
--- a/.github/workflows/check_diffs.yml
+++ b/.github/workflows/check_diffs.yml
@@ -184,15 +184,14 @@ jobs:
steps:
- uses: actions/checkout@v5
- # We have to use 3.12 as 3.13 is not yet supported
- name: "📦 Install UV Package Manager"
uses: astral-sh/setup-uv@v7
with:
- python-version: "3.12"
+ python-version: "3.13"
- uses: actions/setup-python@v6
with:
- python-version: "3.12"
+ python-version: "3.13"
- name: "📦 Install Test Dependencies"
run: uv sync --group test
diff --git a/libs/core/pyproject.toml b/libs/core/pyproject.toml
index 3968e2e252..3f66a78af4 100644
--- a/libs/core/pyproject.toml
+++ b/libs/core/pyproject.toml
@@ -134,4 +134,3 @@ markers = [ "requires: mark tests as requiring a specific library", "compile: ma
asyncio_mode = "auto"
filterwarnings = [ "ignore::langchain_core._api.beta_decorator.LangChainBetaWarning",]
asyncio_default_fixture_loop_scope = "function"
-