Skip to content

Commit d811b3f

Browse files
authored
Merge pull request #484 from native-api/pyenv_latest_f
Reflect pyenv-latest switch change in 2.4.8
2 parents cf45718 + d6756ca commit d811b3f

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/tests.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ jobs:
88
os:
99
- ubuntu-22.04
1010
- ubuntu-20.04
11-
- macos-12
12-
- macos-11
11+
- macos-14
12+
- macos-13
1313
runs-on: ${{ matrix.os }}
1414
steps:
1515
- uses: actions/checkout@v2

bin/pyenv-virtualenv

+1-1
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ else
325325
fi
326326

327327
if [[ -n "${VERSION_NAME}" ]] && command -v pyenv-latest >/dev/null; then
328-
VERSION_NAME="$(pyenv-latest -q "${VERSION_NAME}" || echo "${VERSION_NAME}")"
328+
VERSION_NAME="$(pyenv-latest -f "${VERSION_NAME}")"
329329
fi
330330

331331
if [ -z "${VERSION_NAME}" ] || [ -z "${VIRTUALENV_NAME}" ]; then

test/virtualenv.bats

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ OUT
6161
stub pyenv-exec "python -s -m ensurepip : false"
6262
stub pyenv-exec "python -s */get-pip.py : true"
6363
stub curl true
64-
stub pyenv-latest "-q 2.7 : echo 2.7.11"
64+
stub pyenv-latest "-f 2.7 : echo 2.7.11"
6565

6666
run pyenv-virtualenv "2.7" "venv"
6767

0 commit comments

Comments
 (0)