Skip to content

Commit 240d19f

Browse files
authored
pin pytest<9 for now (#42162)
fix Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
1 parent ba938fa commit 240d19f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@
137137
"psutil",
138138
"pyyaml>=5.1",
139139
"pydantic>=2",
140-
"pytest>=7.2.0",
140+
"pytest>=7.2.0,<9.0.0",
141141
"pytest-asyncio>=1.2.0",
142142
"pytest-rerunfailures<16.0",
143143
"pytest-timeout",

src/transformers/dependency_versions_table.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"psutil": "psutil",
4848
"pyyaml": "pyyaml>=5.1",
4949
"pydantic": "pydantic>=2",
50-
"pytest": "pytest>=7.2.0",
50+
"pytest": "pytest>=7.2.0,<9.0.0",
5151
"pytest-asyncio": "pytest-asyncio>=1.2.0",
5252
"pytest-rerunfailures": "pytest-rerunfailures<16.0",
5353
"pytest-timeout": "pytest-timeout",

0 commit comments

Comments
 (0)