Skip to content

Commit

Permalink
python: drop pypy
Browse files Browse the repository at this point in the history
  • Loading branch information
morpheu committed Jul 5, 2024
1 parent 016370f commit 9d2aff4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 33 deletions.
4 changes: 1 addition & 3 deletions python/deploy
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
30 changes: 0 additions & 30 deletions tests/python/tests.bats
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 9d2aff4

Please sign in to comment.