use Python 3.11 for pipenv

This commit is contained in:
scito
2022-11-27 18:33:21 +01:00
parent 3e1818619e
commit b562ceb00a
3 changed files with 29 additions and 35 deletions

View File

@@ -189,16 +189,26 @@ cmd="$PIP install -U -r requirements-dev.txt"
if $interactive ; then askContinueYn "$cmd"; fi
eval "$cmd"
$PIPENV --version
cmd="$PIPENV update"
cmd="$PIP install -U pipenv"
if $interactive ; then askContinueYn "$cmd"; fi
eval "$cmd"
$PIPENV --version
cmd="$PIPENV update && $PIPENV --rm && $PIPENV install"
if $interactive ; then askContinueYn "$cmd"; fi
eval "$cmd"
$PIPENV run python --version
# Test
cmd="pytest"
if $interactive ; then askContinueYn "$cmd"; fi
eval "$cmd"
cmd="$PIPENV run pytest"
if $interactive ; then askContinueYn "$cmd"; fi
eval "$cmd"
quit