Skip to content

Commit

Permalink
[tests/requirements] Newer pytest for python >=3.10 (openvinotoolkit#…
Browse files Browse the repository at this point in the history
…28196)

### Details:
To align with internal tests requirements and avoid E2E failures
(AttributeError: 'Config' object has no attribute '_metadata')

Signed-off-by: Alina Kladieva <[email protected]>
  • Loading branch information
akladiev authored Dec 24, 2024
1 parent 68b1f54 commit b25413c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion tests/requirements_pytorch
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ torchaudio==2.2.2; platform_system == "Darwin" and platform_machine == "x86_64"
# transformers 4.45.1 is available
# but optimum still requires <4.45.0
transformers==4.44.2
pytest==7.0.1
pytest==7.0.1; python_version < '3.10'
pytest==7.2.0; python_version >= '3.10'
pytest-html==4.1.1
pytest-xdist[psutil]==3.6.1
defusedxml==0.7.1
Expand Down
3 changes: 2 additions & 1 deletion tests/requirements_tensorflow
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
# tensorflow 2.16.2 depends on numpy<2.0.0 and >=1.26.0; python_version >= "3.12"
numpy==1.26.4; python_version < "3.12" or platform_system == "Darwin" and platform_machine == "x86_64"
numpy==2.0.2; python_version >= "3.12" and (platform_system != "Darwin" or platform_machine != "x86_64")
pytest==7.0.1
pytest==7.0.1; python_version < '3.10'
pytest==7.2.0; python_version >= '3.10'
pytest-xdist[psutil]==3.6.1
pytest-html==4.1.1
transformers==4.45.1
Expand Down

0 comments on commit b25413c

Please sign in to comment.