Skip to content

Commit 25f1901

Browse files
authored
Pin gdown version to v4.6.3 (#7384)
Workaround for #7382 #7383 ### Description Based on the comment [here](wkentaro/gdown#291 (comment)), pin the gdown version as a workaround. Will review this one once gdown has some update internal. ### Types of changes <!--- Put an `x` in all the boxes that apply, and remove the not applicable items --> - [x] Non-breaking change (fix or new feature that would not break existing functionality). - [ ] Breaking change (fix or new feature that would cause existing functionality to change). - [ ] New tests added to cover the changes. - [ ] Integration tests passed locally by running `./runtests.sh -f -u --net --coverage`. - [ ] Quick tests passed locally by running `./runtests.sh --quick --unittests --disttests`. - [ ] In-line docstrings updated. - [ ] Documentation updated, tested `make html` command in the `docs/` folder. Signed-off-by: YunLiu <55491388+KumoLiu@users.noreply.github.com>
1 parent e1ffa7e commit 25f1901

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

monai/apps/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
from monai.config.type_definitions import PathLike
3131
from monai.utils import look_up_option, min_version, optional_import
3232

33-
gdown, has_gdown = optional_import("gdown", "4.4")
33+
gdown, has_gdown = optional_import("gdown", "4.6.3")
3434

3535
if TYPE_CHECKING:
3636
from tqdm import tqdm

requirements-dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Full requirements for developments
22
-r requirements-min.txt
33
pytorch-ignite==0.4.11
4-
gdown>=4.4.0
4+
gdown>=4.4.0, <=4.6.3
55
scipy>=1.7.1
66
itk>=5.2
77
nibabel

setup.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ all =
5252
scipy>=1.7.1
5353
pillow
5454
tensorboard
55-
gdown>=4.4.0
55+
gdown==4.6.3
5656
pytorch-ignite==0.4.11
5757
torchvision
5858
itk>=5.2
@@ -97,7 +97,7 @@ pillow =
9797
tensorboard =
9898
tensorboard
9999
gdown =
100-
gdown>=4.4.0
100+
gdown==4.6.3
101101
ignite =
102102
pytorch-ignite==0.4.11
103103
torchvision =

0 commit comments

Comments
 (0)