chore(deps): bump pytest to 9.0.3 (#36801)

CVE-2025-71176 (medium severity)

All are dev-only (test dependency group) — no impact on published
packages.

### Why syrupy was also bumped

syrupy 4.x (`<5.0.0`) constrains pytest to `<9.0.0`, blocking the CVE
fix. Widening to `<6.0.0` allows syrupy 5.x which supports pytest 9.x.
This commit is contained in:
Mason Daugherty
2026-04-15 21:46:40 -06:00
committed by GitHub
parent cbee5e042c
commit 7e81d09f2a
43 changed files with 558 additions and 398 deletions

16
libs/core/uv.lock generated
View File

@@ -1068,8 +1068,8 @@ test = [
{ name = "langchain-tests", directory = "../standard-tests" },
{ name = "numpy", marker = "python_full_version < '3.13'", specifier = ">=1.26.4" },
{ name = "numpy", marker = "python_full_version >= '3.13'", specifier = ">=2.1.0" },
{ name = "pytest", specifier = ">=8.0.0,<10.0.0" },
{ name = "pytest-asyncio", specifier = ">=0.21.1,<2.0.0" },
{ name = "pytest", specifier = ">=9.0.3,<10.0.0" },
{ name = "pytest-asyncio", specifier = ">=1.3.0,<2.0.0" },
{ name = "pytest-benchmark" },
{ name = "pytest-codspeed" },
{ name = "pytest-mock", specifier = ">=3.10.0,<4.0.0" },
@@ -1077,7 +1077,7 @@ test = [
{ name = "pytest-watcher", specifier = ">=0.3.4,<1.0.0" },
{ name = "pytest-xdist", specifier = ">=3.6.1,<4.0.0" },
{ name = "responses", specifier = ">=0.25.0,<1.0.0" },
{ name = "syrupy", specifier = ">=4.0.2,<6.0.0" },
{ name = "syrupy", specifier = ">=5.0.0,<6.0.0" },
]
test-integration = []
typing = [
@@ -1112,13 +1112,13 @@ requires-dist = [
{ name = "langchain-core", editable = "." },
{ name = "numpy", marker = "python_full_version < '3.13'", specifier = ">=1.26.2" },
{ name = "numpy", marker = "python_full_version >= '3.13'", specifier = ">=2.1.0" },
{ name = "pytest", specifier = ">=7.0.0,<10.0.0" },
{ name = "pytest-asyncio", specifier = ">=0.20.0,<2.0.0" },
{ name = "pytest", specifier = ">=9.0.3,<10.0.0" },
{ name = "pytest-asyncio", specifier = ">=1.3.0,<2.0.0" },
{ name = "pytest-benchmark" },
{ name = "pytest-codspeed" },
{ name = "pytest-recording" },
{ name = "pytest-socket", specifier = ">=0.7.0,<1.0.0" },
{ name = "syrupy", specifier = ">=4.0.0,<6.0.0" },
{ name = "syrupy", specifier = ">=5.0.0,<6.0.0" },
{ name = "vcrpy", specifier = ">=8.0.0,<9.0.0" },
]
@@ -1155,8 +1155,8 @@ lint = [
test = [
{ name = "freezegun", specifier = ">=1.2.2,<2.0.0" },
{ name = "langchain-core", editable = "." },
{ name = "pytest", specifier = ">=8.0.0,<10.0.0" },
{ name = "pytest-asyncio", specifier = ">=0.21.1,<2.0.0" },
{ name = "pytest", specifier = ">=9.0.3,<10.0.0" },
{ name = "pytest-asyncio", specifier = ">=1.3.0,<2.0.0" },
{ name = "pytest-mock", specifier = ">=3.10.0,<4.0.0" },
{ name = "pytest-socket", specifier = ">=0.7.0,<1.0.0" },
{ name = "pytest-watcher", specifier = ">=0.3.4,<1.0.0" },