This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 8ff07490723 Limit pytest-rerunfailures as it crashes xdist XFAIL tests
(#55058)
8ff07490723 is described below
commit 8ff074907234016a5c10ba0c9b407c89c52c23b5
Author: Jarek Potiuk <[email protected]>
AuthorDate: Fri Aug 29 11:13:43 2025 +0200
Limit pytest-rerunfailures as it crashes xdist XFAIL tests (#55058)
See https://github.com/pytest-dev/pytest-rerunfailures/issues/302
---
devel-common/pyproject.toml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/devel-common/pyproject.toml b/devel-common/pyproject.toml
index 9735b24f083..bf176bf5145 100644
--- a/devel-common/pyproject.toml
+++ b/devel-common/pyproject.toml
@@ -128,7 +128,9 @@ dependencies = [
"pytest-icdiff>=0.9",
"pytest-instafail>=0.5.0",
"pytest-mock>=3.14.0",
- "pytest-rerunfailures>=13.0",
+ # pytest-rerunfailures 16.0 crashes xdist xfail tests
+ # https://github.com/pytest-dev/pytest-rerunfailures/issues/302
+ "pytest-rerunfailures>=13.0,!=16.0",
"pytest-timeouts>=1.2.1",
"pytest-unordered>=0.6.1",
"pytest-xdist>=3.5.0",