mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-16 22:42:57 +00:00
Add a comment for choosing latest_stable_version for Julia
This commit is contained in:
@@ -36,6 +36,7 @@ def get_latest_julia_url() -> tuple[str, str]:
|
||||
"https://julialang-s3.julialang.org/bin/versions.json"
|
||||
).json()
|
||||
stable_versions = {k: v for k, v in versions.items() if v["stable"]}
|
||||
# Compare versions semantically
|
||||
latest_stable_version = max(
|
||||
stable_versions, key=lambda ver: [int(sub_ver) for sub_ver in ver.split(".")]
|
||||
)
|
||||
|
Reference in New Issue
Block a user