Skip to content

Automate browser based workflows with AI

chore(deps-dev): bump pytest from 7.4.4 to 9.0.3 (#7380)

Shuchang Zhenge4ff5c638fee
diff --git a/pyproject.toml b/pyproject.toml
index 4e44b5d98..24e93eb6f 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -206,7 +206,7 @@ dev = [
"isort>=5.13.2",
"mypy>=1.18.2,<2",
"types-requests>=2.31.0.2,<3",
- "pytest>=7.4.0,<8",
+ "pytest>=9.0.3,<10",
"pytest-asyncio>=0.21.1,<0.22",
"pytest-split>=0.10.0,<1",
# Needed by tests/unit/test_llm_handler_tracing.py which exercises the LLM
diff --git a/pytest.ini b/pytest.ini
index 76c3089c6..e68cf4bf7 100644
--- a/pytest.ini
+++ b/pytest.ini
@@ -7,4 +7,4 @@ addopts = --capture=no
# tests/sdk and eval are OSS-only; listed here because this file is the single source
# of truth for norecursedirs after it joins the sync manifest. Pytest silently ignores
# paths that don't exist, so they're harmless in cloud.
-norecursedirs = tests/manual tests/evals scripts/cdp-download-poc tests/sdk eval infra/gcp-agent
+norecursedirs = tests/manual tests/evals scripts/cdp-download-poc tests/sdk eval infra/gcp-agent prompt_evaluation
diff --git a/uv.lock b/uv.lock
index 27a8c4dc4..adf78035d 100644
--- a/uv.lock
+++ b/uv.lock
@@ -5020,17 +5020,18 @@ wheels = [
[[package]]
name = "pytest"
-version = "7.4.4"
+version = "9.0.3"
source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "colorama", marker = "sys_platform == 'win32'" },
{ name = "iniconfig" },
{ name = "packaging" },
{ name = "pluggy" },
+ { name = "pygments" },
]
-sdist = { url = "https://files.pythonhosted.org/packages/80/1f/9d8e98e4133ffb16c90f3b405c43e38d3abb715bb5d7a63a5a684f7e46a3/pytest-7.4.4.tar.gz", hash = "sha256:2cf0005922c6ace4a3e2ec8b4080eb0d9753fdc93107415332f50ce9e7994280", size = 1357116, upload-time = "2023-12-31T12:00:18.035Z" }
+sdist = { url = "https://files.pythonhosted.org/packages/7d/0d/549bd94f1a0a402dc8cf64563a117c0f3765662e2e668477624baeec44d5/pytest-9.0.3.tar.gz", hash = "sha256:b86ada508af81d19edeb213c681b1d48246c1a91d304c6c81a427674c17eb91c", size = 1572165, upload-time = "2026-04-07T17:16:18.027Z" }
wheels = [
- { url = "https://files.pythonhosted.org/packages/51/ff/f6e8b8f39e08547faece4bd80f89d5a8de68a38b2d179cc1c4490ffa3286/pytest-7.4.4-py3-none-any.whl", hash = "sha256:b090cdf5ed60bf4c45261be03239c2c1c22df034fbffe691abe93cd80cea01d8", size = 325287, upload-time = "2023-12-31T12:00:13.963Z" },
+ { url = "https://files.pythonhosted.org/packages/d4/24/a372aaf5c9b7208e7112038812994107bc65a84cd00e0354a88c2c77a617/pytest-9.0.3-py3-none-any.whl", hash = "sha256:2c5efc453d45394fdd706ade797c0a81091eccd1d6e4bccfcd476e2b8e0ab5d9", size = 375249, upload-time = "2026-04-07T17:16:16.13Z" },
]
[[package]]
@@ -6202,7 +6203,7 @@ dev = [
{ name = "pre-commit", specifier = ">=4.2.0,<5" },
{ name = "pydevd-pycharm", specifier = ">=233.6745.319,<234" },
{ name = "pyinstrument", specifier = ">=5.1.2" },
- { name = "pytest", specifier = ">=7.4.0,<8" },
+ { name = "pytest", specifier = ">=9.0.3,<10" },
{ name = "pytest-asyncio", specifier = ">=0.21.1,<0.22" },
{ name = "pytest-split", specifier = ">=0.10.0,<1" },
{ name = "python-pptx", specifier = ">=1.0.2" },