Skip to content

Commit 50d231a

Browse files
authored
unpin pytest<8 (#37768)
* pytest 8 * pytest 8 --------- Co-authored-by: ydshieh <[email protected]>
1 parent 79d4bc7 commit 50d231a

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -55,3 +55,4 @@ markers = [
5555
]
5656
log_cli = 1
5757
log_cli_level = "WARNING"
58+
asyncio_default_fixture_loop_scope = "function"

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@
149149
"psutil",
150150
"pyyaml>=5.1",
151151
"pydantic",
152-
"pytest>=7.2.0,<8.0.0",
152+
"pytest>=7.2.0",
153153
"pytest-asyncio",
154154
"pytest-rerunfailures",
155155
"pytest-timeout",

src/transformers/dependency_versions_table.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"psutil": "psutil",
5656
"pyyaml": "pyyaml>=5.1",
5757
"pydantic": "pydantic",
58-
"pytest": "pytest>=7.2.0,<8.0.0",
58+
"pytest": "pytest>=7.2.0",
5959
"pytest-asyncio": "pytest-asyncio",
6060
"pytest-rerunfailures": "pytest-rerunfailures",
6161
"pytest-timeout": "pytest-timeout",

0 commit comments

Comments
 (0)