File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
images/macos/provision/core Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -76,11 +76,11 @@ function InstallPyPy
7676}
7777
7878arch=$( get_arch)
79- pypyVersions= $( curl -fsSL https://downloads.python.org/pypy/versions.json)
79+ download_with_retries " https://downloads.python.org/pypy/versions.json" " /tmp " " pypy-versions.json "
8080toolsetVersions=$( get_toolset_value ' .toolcache[] | select(.name | contains("PyPy")) | .arch.' $arch ' .versions[]' )
8181
8282for toolsetVersion in $toolsetVersions ; do
83- latestMajorPyPyVersion=$( echo $pypyVersions |
83+ latestMajorPyPyVersion=$( cat /tmp/pypy-versions.json |
8484 jq -r --arg toolsetVersion $toolsetVersion ' .[]
8585 | select((.python_version | startswith($toolsetVersion)) and .stable == true).files[]
8686 | select(.platform == "darwin").download_url' | head -1)
You can’t perform that action at this time.
0 commit comments