From f6c08046bbab13d9ff07215cf67ca75e85420609 Mon Sep 17 00:00:00 2001 From: Anthonios Partheniou Date: Fri, 21 Nov 2025 14:03:06 +0000 Subject: [PATCH] tests: pin pytest to workaround compatibility issue with pytest-xdist --- noxfile.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/noxfile.py b/noxfile.py index 2457382fb..194e7ce8f 100644 --- a/noxfile.py +++ b/noxfile.py @@ -95,7 +95,8 @@ def default(session, install_extras=True): # Install all test dependencies, then install local packages in-place. session.install( - "pytest", + # TODO(https://github.com/pytest-dev/pytest-xdist/issues/1273): Remove once this bug is fixed + "pytest<9", "google-cloud-testutils", "pytest-cov", "pytest-xdist",