We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc6ea2d commit 8083782Copy full SHA for 8083782
repo2docker/buildpacks/julia/julia_project.py
@@ -18,9 +18,12 @@ class JuliaProjectTomlBuildPack(PythonBuildPack):
18
@property
19
@functools.lru_cache(maxsize=1)
20
def all_julias(self):
21
- json = requests.get(
22
- "https://julialang-s3.julialang.org/bin/versions.json"
23
- ).json()
+ try:
+ json = requests.get(
+ "https://julialang-s3.julialang.org/bin/versions.json"
24
+ ).json()
25
+ except Exception as e:
26
+ raise RuntimeError("Failed to fetch available Julia versions: {e}")
27
vers = [semver.VersionInfo.parse(v) for v in json.keys()]
28
# filter out pre-release versions not supported by find_semver_match()
29
filtered_vers = [v for v in vers if v.prerelease is None]
0 commit comments