🔧 Pin pytest below 9.2 for pytest-xdist compatibility (#16642)

This commit is contained in:
Sebastián Ramírez authored and GitHub committed 2026-10-31 11:08:20 +00:00
1 parent 79cab5bed2
commit a5de55fe5a
2 files changed
+5 -3

No files matched your search

+3 -1
View File
@@ -187,7 +187,9 @@ tests = [
"mypy >=1.14.1",
"pwdlib[argon2] >=0.2.1",
"pyjwt >=2.9.0",
"pytest >=9.0.0",
# Remove this cap after requiring a pytest-xdist release with the fix for
# pytest >=9.2 loadgroup compatibility: https://github.com/pytest-dev/pytest-xdist/pull/1388
"pytest >=9.0.0,<9.2",
"pytest-codspeed >=4.3.0",
"pyyaml >=5.3.1,<7.0.0",
"sqlmodel >=0.0.31",
Generated
+2 -2
View File
@@ -1113,7 +1113,7 @@ dev = [
{ name = "pydantic-ai", specifier = ">=0.4.10" },
{ name = "pygithub", specifier = ">=2.8.1" },
{ name = "pyjwt", specifier = ">=2.9.0" },
{ name = "pytest", specifier = ">=9.0.0" },
{ name = "pytest", specifier = ">=9.0.0,<9.2" },
{ name = "pytest-codspeed", specifier = ">=4.3.0" },
{ name = "pytest-cov", specifier = ">=4.0.0" },
{ name = "pytest-sugar", specifier = ">=1.0.0" },
@@ -1178,7 +1178,7 @@ tests = [
{ name = "opentelemetry-sdk", specifier = ">=1.44.0" },
{ name = "pwdlib", extras = ["argon2"], specifier = ">=0.2.1" },
{ name = "pyjwt", specifier = ">=2.9.0" },
{ name = "pytest", specifier = ">=9.0.0" },
{ name = "pytest", specifier = ">=9.0.0,<9.2" },
{ name = "pytest-codspeed", specifier = ">=4.3.0" },
{ name = "pytest-cov", specifier = ">=4.0.0" },
{ name = "pytest-sugar", specifier = ">=1.0.0" },