Skip to content

Commit 180a874

Browse files
committed
Fix CI py3.6 install
1 parent 8713df7 commit 180a874

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.circleci/config.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,11 +78,14 @@ jobs:
7878
key: v1-pyenv-{{ .Environment.CIRCLE_JOB }}-xcode-13.2.0
7979

8080
- when:
81-
# see https://github.com/pyenv/pyenv/issues/1643
81+
# see https://github.com/pyenv/pyenv/issues/1643. We use an intermediate
82+
# file so we can use the --skip-existing without raising errors from curl
8283
condition:
8384
equal: [3.6.8, << parameters.python-version >>]
8485
steps:
85-
- run: pyenv install --patch 3.6.8 < <(curl -sSL https://github.com/python/cpython/commit/8ea6353.patch)
86+
- run: |
87+
curl -sSL https://github.com/python/cpython/commit/8ea6353.patch > tmp.txt
88+
pyenv install -s --patch 3.6.8 < tmp.txt
8689
8790
- run:
8891
name: Install python

0 commit comments

Comments
 (0)