Skip to content

Commit

Permalink
ci: modify the setup to limit tf to 2.15 as 2.16 breaks a lot of things
Browse files Browse the repository at this point in the history
  • Loading branch information
Agustin-Picard authored and lucashervier committed Sep 30, 2024
1 parent 5bb68c9 commit 61c8b8f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ commands =
deps =
pytest
pytest-cov
tf21: tensorflow ~= 2.2.0
tf25: tensorflow ~= 2.5.0
tf28: tensorflow ~= 2.8.0
tf211: tensorflow ~= 2.11.0
tf21: tensorflow ~= 2.2.0,<2.16
tf25: tensorflow ~= 2.5.0,<2.16
tf28: tensorflow ~= 2.8.0,<2.16
tf211: tensorflow ~= 2.11.0,<2.16
-rrequirements.txt
commands =
pytest --cov=xplique --ignore=xplique/wrappers/pytorch.py --ignore=tests/wrappers/test_pytorch_wrapper.py --ignore=tests/concepts/test_craft_torch.py {posargs}
Expand All @@ -53,9 +53,9 @@ commands =
deps =
pytest
pytest-cov
tf25: tensorflow ~= 2.5.0
tf28: tensorflow ~= 2.8.0
tf211: tensorflow ~= 2.11.0
tf25: tensorflow ~= 2.5.0,<2.16
tf28: tensorflow ~= 2.8.0,<2.16
tf211: tensorflow ~= 2.11.0,<2.16
torch111: torch == 1.11.0
torch113: torch == 1.13.0
torch200: torch
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
author="Thomas FEL",
author_email="[email protected]",
license="MIT",
install_requires=['tensorflow>=2.1.0', 'numpy', 'scikit-learn', 'scikit-image',
install_requires=['tensorflow>=2.1.0,<2.16.0', 'numpy', 'scikit-learn', 'scikit-image',
'matplotlib', 'scipy', 'opencv-python', 'deprecated'],
extras_require={
"tests": ["pytest", "pylint"],
Expand Down

0 comments on commit 61c8b8f

Please sign in to comment.