Bläddra i källkod

Merge pull request #484 from native-api/pyenv_latest_f

Reflect pyenv-latest switch change in 2.4.8
pull/327/merge
native-api 2 månader sedan
committed by GitHub
förälder
incheckning
d811b3fef2
Ingen känd nyckel hittad för denna signaturen i databasen GPG-nyckel ID: B5690EEEBB952194
3 ändrade filer med 4 tillägg och 4 borttagningar
  1. +2
    -2
      .github/workflows/tests.yml
  2. +1
    -1
      bin/pyenv-virtualenv
  3. +1
    -1
      test/virtualenv.bats

+ 2
- 2
.github/workflows/tests.yml Visa fil

@ -8,8 +8,8 @@ jobs:
os:
- ubuntu-22.04
- ubuntu-20.04
- macos-12
- macos-11
- macos-14
- macos-13
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2

+ 1
- 1
bin/pyenv-virtualenv Visa fil

@ -325,7 +325,7 @@ else
fi
if [[ -n "${VERSION_NAME}" ]] && command -v pyenv-latest >/dev/null; then
VERSION_NAME="$(pyenv-latest -q "${VERSION_NAME}" || echo "${VERSION_NAME}")"
VERSION_NAME="$(pyenv-latest -f "${VERSION_NAME}")"
fi
if [ -z "${VERSION_NAME}" ] || [ -z "${VIRTUALENV_NAME}" ]; then

+ 1
- 1
test/virtualenv.bats Visa fil

@ -61,7 +61,7 @@ OUT
stub pyenv-exec "python -s -m ensurepip : false"
stub pyenv-exec "python -s */get-pip.py : true"
stub curl true
stub pyenv-latest "-q 2.7 : echo 2.7.11"
stub pyenv-latest "-f 2.7 : echo 2.7.11"
run pyenv-virtualenv "2.7" "venv"

Laddar…
Avbryt
Spara