5775 Fix `_get_latest_bundle_version` issue on Windows by yiheng-wang-nv · Pull Request #5787 · Project-MONAI/MONAI · GitHub
Skip to content

5775 Fix _get_latest_bundle_version issue on Windows#5787

Merged
wyli merged 5 commits into
Project-MONAI:devfrom
yiheng-wang-nv:5775-enhance-get-latest-bundle-version
Jan 4, 2023
Merged

5775 Fix _get_latest_bundle_version issue on Windows#5787
wyli merged 5 commits into
Project-MONAI:devfrom
yiheng-wang-nv:5775-enhance-get-latest-bundle-version

Conversation

@yiheng-wang-nv

Copy link
Copy Markdown
Contributor

Signed-off-by: Yiheng Wang vennw@nvidia.com

Fixes #5775 .

Description

This PR fixes the issue of _get_latest_bundle_version on Windows (os.path.join will produce backslash which will create a wrong url)
Thanks @SachidanandAlle for finding this issue.

Types of changes

  • 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: Yiheng Wang <vennw@nvidia.com>

@Nic-Ma Nic-Ma left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @yiheng-wang-nv ,

Could you please help remove this line to allow the windows tests:
https://github.com/Project-MONAI/MONAI/blob/dev/tests/test_bundle_download.py#L61
Actually, other bundle tests cover windows, like:
https://github.com/Project-MONAI/MONAI/blob/dev/tests/test_integration_bundle_run.py#L108

Thanks.

yiheng-wang-nv and others added 2 commits December 30, 2022 14:13
Signed-off-by: Yiheng Wang <vennw@nvidia.com>
@yiheng-wang-nv

Copy link
Copy Markdown
Contributor Author

@wyli

wyli commented Jan 4, 2023

Copy link
Copy Markdown
Contributor

/build

@wyli wyli enabled auto-merge (squash) January 4, 2023 13:30
@wyli wyli merged commit c6081e5 into Project-MONAI:dev Jan 4, 2023
@wyli

wyli commented Jan 4, 2023

Copy link
Copy Markdown
Contributor

@yiheng-wang-nv yiheng-wang-nv deleted the 5775-enhance-get-latest-bundle-version branch January 5, 2023 02:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

_get_latest_bundle_version issue on Windows

4 participants