From 95ddd7d479df6e412a414c383757819147019be9 Mon Sep 17 00:00:00 2001 From: native-api Date: Tue, 2 Jun 2026 10:29:59 +0300 Subject: [PATCH] Support 3.9 EOL Pip URL, consolidate tests (#3465) --- plugins/python-build/bin/python-build | 3 + plugins/python-build/test/pyenv_ext.bats | 102 +++++++---------------- 2 files changed, 32 insertions(+), 73 deletions(-) diff --git a/plugins/python-build/bin/python-build b/plugins/python-build/bin/python-build index c8cde670..740a2970 100755 --- a/plugins/python-build/bin/python-build +++ b/plugins/python-build/bin/python-build @@ -2702,6 +2702,9 @@ if [ -z "${GET_PIP_URL}" ]; then 3.8 | 3.8.* | pypy3.8 | pypy3.8-* | pyston* ) GET_PIP_URL="https://bootstrap.pypa.io/pip/3.8/get-pip.py" ;; + 3.9 | 3.9.* | pypy3.9 | pypy3.9-* ) + GET_PIP_URL="https://bootstrap.pypa.io/pip/3.9/get-pip.py" + ;; * ) GET_PIP_URL="https://bootstrap.pypa.io/get-pip.py" ;; diff --git a/plugins/python-build/test/pyenv_ext.bats b/plugins/python-build/test/pyenv_ext.bats index aa0bbcb4..dd99ac56 100644 --- a/plugins/python-build/test/pyenv_ext.bats +++ b/plugins/python-build/test/pyenv_ext.bats @@ -388,82 +388,38 @@ OUT assert_success } -@test "use the custom GET_PIP_URL for 2.6 versions" { - run_inline_definition_with_name --name=2.6 <