Skip to content

Commit

Permalink
Pin pytest version <8.0.0 (huggingface#28758)
Browse files Browse the repository at this point in the history
* Pin pytest version <8.0.0

* Update setup.py

* make deps_table_update
  • Loading branch information
amyeroberts authored and SangbumChoi committed Jan 31, 2024
1 parent f6b8800 commit 7e6a905
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@
"psutil",
"pyyaml>=5.1",
"pydantic",
"pytest>=7.2.0",
"pytest>=7.2.0,<8.0.0",
"pytest-timeout",
"pytest-xdist",
"python>=3.8.0",
Expand Down
2 changes: 1 addition & 1 deletion src/transformers/dependency_versions_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"psutil": "psutil",
"pyyaml": "pyyaml>=5.1",
"pydantic": "pydantic",
"pytest": "pytest>=7.2.0",
"pytest": "pytest>=7.2.0,<8.0.0",
"pytest-timeout": "pytest-timeout",
"pytest-xdist": "pytest-xdist",
"python": "python>=3.8.0",
Expand Down

0 comments on commit 7e6a905

Please sign in to comment.