From 54cac31d6720b5a3d9b5f91c9324582f21d2118b Mon Sep 17 00:00:00 2001 From: mday-io Date: Tue, 24 Nov 2026 20:07:42 -0500 Subject: [PATCH 1/2] chore(deps): pin pytest below 9.2 pytest 9.2.0 grows each xdist worker to about 3.8 GB while collecting tests, which runs the 16 GB CI runners out of memory and kills the BigQuery cloud engine job. See #6254. Signed-off-by: mday-io --- pyproject.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 6eda76bf4d..e3d00477bd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -91,7 +91,9 @@ dev = [ "mssql-python>=1.1.0;python_version>=\"3.10\"", "pyperf", "pyspark~=3.5.0", - "pytest", + # pytest 9.2.0 uses about 3.8 GB per xdist worker while collecting tests, which runs the + # 16 GB CI runners out of memory (see #6254). Remove once a fixed release is out. + "pytest<9.2", "pytest-asyncio", "pytest-mock", "pytest-rerunfailures", From e2b479129ae311d6417ecfa3f8f9c7ce28ced0f7 Mon Sep 17 00:00:00 2001 From: mday-io Date: Wed, 25 Nov 2026 06:55:04 -0500 Subject: [PATCH 2/2] chore(deps): narrow the pytest pin comment to the BigQuery job Signed-off-by: mday-io --- pyproject.toml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index e3d00477bd..3690de5d58 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -91,8 +91,9 @@ dev = [ "mssql-python>=1.1.0;python_version>=\"3.10\"", "pyperf", "pyspark~=3.5.0", - # pytest 9.2.0 uses about 3.8 GB per xdist worker while collecting tests, which runs the - # 16 GB CI runners out of memory (see #6254). Remove once a fixed release is out. + # In the BigQuery cloud engine job, pytest 9.2.0 grows each xdist worker to about 3.8 GB + # while collecting tests and runs the CI runner out of memory (see #6254). Other jobs on + # 9.2.0 are fine. Remove once the trigger is found or a newer pytest passes that job. "pytest<9.2", "pytest-asyncio", "pytest-mock",