diff --git a/python/deploy b/python/deploy index 5afcddf..ab07d69 100755 --- a/python/deploy +++ b/python/deploy @@ -20,9 +20,7 @@ LATEST_38="3.8.16" LATEST_37="3.7.16" LATEST_36="3.6.15" LATEST_35="3.5.10" -PYPY_36="pypy3.6-7.3.2" -PYPY_27="pypy2.7-7.3.2" -LATEST_PYTHON_VERSIONS=(${LATEST_312} ${LATEST_311} ${LATEST_310} ${LATEST_39} ${LATEST_38} ${LATEST_37} ${LATEST_36} ${LATEST_35} ${PYPY_36} ${PYPY_27}) +LATEST_PYTHON_VERSIONS=(${LATEST_312} ${LATEST_311} ${LATEST_310} ${LATEST_39} ${LATEST_38} ${LATEST_37} ${LATEST_36} ${LATEST_35}) PYTHON_VERSION_DEFAULT="${PYTHON_VERSION_DEFAULT:-${LATEST_312}}" VERSION_ORIGIN="default" PYTHON_BASE_DIR="/home/application/python" diff --git a/tests/python/tests.bats b/tests/python/tests.bats index b8bd99b..333f3d1 100644 --- a/tests/python/tests.bats +++ b/tests/python/tests.bats @@ -277,36 +277,6 @@ EOF assert_success [[ "$output" == *"3.12.0"* ]] - export PYTHON_VERSION=pypy2.7 - run /var/lib/tsuru/deploy - assert_success - [[ "$output" == *"Using python version: pypy2.7-7.3.2 (PYTHON_VERSION environment variable (closest))"* ]] - run python --version - - assert_success - [[ "$output" == *"2.7"* ]] - [[ "$output" == *"7.3.2"* ]] - - export PYTHON_VERSION=pypy3.6 - run /var/lib/tsuru/deploy - assert_success - [[ "$output" == *"Using python version: pypy3.6-7.3.2 (PYTHON_VERSION environment variable (closest))"* ]] - run python --version - - assert_success - [[ "$output" == *"3.6"* ]] - [[ "$output" == *"7.3.2"* ]] - - export PYTHON_VERSION=pypy3 - run /var/lib/tsuru/deploy - assert_success - [[ "$output" == *"Using already installed python version: pypy3.6-7.3.2"* ]] - run python --version - - assert_success - [[ "$output" == *"3.6"* ]] - [[ "$output" == *"7.3.2"* ]] - unset PYTHON_VERSION }