Skip to content

Commit 48b189e

Browse files
committed
Add a comment for choosing latest_stable_version for Julia
1 parent c515e88 commit 48b189e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

images/minimal-notebook/setup-scripts/setup_julia.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ def get_latest_julia_url() -> tuple[str, str]:
3636
"https://julialang-s3.julialang.org/bin/versions.json"
3737
).json()
3838
stable_versions = {k: v for k, v in versions.items() if v["stable"]}
39+
# Compare versions semantically
3940
latest_stable_version = max(
4041
stable_versions, key=lambda ver: [int(sub_ver) for sub_ver in ver.split(".")]
4142
)

0 commit comments

Comments
 (0)