Skip to content

Commit

Permalink
[Requirements] Limit click versions to 8.0.x (#1869)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tankilevitch committed Apr 6, 2022
1 parent cda95ab commit 4d2837b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion automation/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
click~=8.0
click~=8.0.0
paramiko~=2.7
semver~=2.13
requests~=2.22
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ urllib3>=1.25.4, <1.27
chardet>=3.0.2, <4.0
GitPython~=3.0
aiohttp~=3.8
click~=8.0
# 8.1.0+ breaks dask/distributed versions older than 2022.04.0, see here - https://github.com/dask/distributed/pull/6018
click~=8.0.0
# 3.0/3.2 iguazio system uses 1.0.1, but we needed >=1.6.0 to be compatible with k8s>=12.0 to fix scurity issue
# since the sdk is still mark as beta (and not stable) I'm limiting to only patch changes
kfp~=1.8.0
Expand Down
1 change: 1 addition & 0 deletions tests/test_requirements.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ def test_requirement_specifiers_convention():
"gcsfs": {"~=2021.8.1"},
"distributed": {"~=2021.11.2"},
"dask": {"~=2021.11.2"},
"click": {"~=8.0.0"},
# All of these are actually valid, they just don't use ~= so the test doesn't "understand" that
# TODO: make test smart enough to understand that
"urllib3": {">=1.25.4, <1.27"},
Expand Down

0 comments on commit 4d2837b

Please sign in to comment.