mirror of
https://github.com/pyenv/pyenv.git
synced 2025-11-11 13:03:46 -05:00
Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c844b332ca | ||
|
|
64af7c3e54 | ||
|
|
261fd7c462 | ||
|
|
91928bfbc4 | ||
|
|
8cfc75604b | ||
|
|
da3ac7b7a3 | ||
|
|
259b5cad26 |
1
.github/workflows/macos_build.yml
vendored
1
.github/workflows/macos_build.yml
vendored
@@ -10,7 +10,6 @@ jobs:
|
|||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
python-version:
|
python-version:
|
||||||
- "3.7"
|
|
||||||
- "3.8"
|
- "3.8"
|
||||||
- "3.9"
|
- "3.9"
|
||||||
- "3.10"
|
- "3.10"
|
||||||
|
|||||||
1
.github/workflows/ubuntu_build.yml
vendored
1
.github/workflows/ubuntu_build.yml
vendored
@@ -10,7 +10,6 @@ jobs:
|
|||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
python-version:
|
python-version:
|
||||||
- "3.7"
|
|
||||||
- "3.8"
|
- "3.8"
|
||||||
- "3.9"
|
- "3.9"
|
||||||
- "3.10"
|
- "3.10"
|
||||||
|
|||||||
@@ -1,5 +1,11 @@
|
|||||||
# Version History
|
# Version History
|
||||||
|
|
||||||
|
# Release v2.3.27
|
||||||
|
|
||||||
|
* Prefer OpenSSL 3 in Homebrew since 3.12 by @native-api in https://github.com/pyenv/pyenv/pull/2781
|
||||||
|
* Fix get-pip urls for older pypy versions by @TimPansino in https://github.com/pyenv/pyenv/pull/2788
|
||||||
|
* Update openssl url for 3.12.0rc2 by @zsol in https://github.com/pyenv/pyenv/pull/2789
|
||||||
|
|
||||||
## Release v2.3.26
|
## Release v2.3.26
|
||||||
|
|
||||||
* Prevent `grep` warning in `conda.bash` by @aphedges in https://github.com/pyenv/pyenv/pull/2768
|
* Prevent `grep` warning in `conda.bash` by @aphedges in https://github.com/pyenv/pyenv/pull/2768
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
set -e
|
set -e
|
||||||
[ -n "$PYENV_DEBUG" ] && set -x
|
[ -n "$PYENV_DEBUG" ] && set -x
|
||||||
|
|
||||||
version="2.3.26"
|
version="2.3.27"
|
||||||
git_revision=""
|
git_revision=""
|
||||||
|
|
||||||
if cd "${BASH_SOURCE%/*}" 2>/dev/null && git remote -v 2>/dev/null | grep -q pyenv; then
|
if cd "${BASH_SOURCE%/*}" 2>/dev/null && git remote -v 2>/dev/null | grep -q pyenv; then
|
||||||
|
|||||||
@@ -1474,6 +1474,12 @@ prefer_openssl11() {
|
|||||||
export PYTHON_BUILD_HOMEBREW_OPENSSL_FORMULA
|
export PYTHON_BUILD_HOMEBREW_OPENSSL_FORMULA
|
||||||
}
|
}
|
||||||
|
|
||||||
|
prefer_openssl3() {
|
||||||
|
# Allow overriding the preference of OpenSSL version per definition basis (#1302, #1325, #1326)
|
||||||
|
PYTHON_BUILD_HOMEBREW_OPENSSL_FORMULA="${PYTHON_BUILD_HOMEBREW_OPENSSL_FORMULA:-openssl@3 openssl@1.1 openssl}"
|
||||||
|
export PYTHON_BUILD_HOMEBREW_OPENSSL_FORMULA
|
||||||
|
}
|
||||||
|
|
||||||
build_package_mac_readline() {
|
build_package_mac_readline() {
|
||||||
# Install to a subdirectory since we don't want shims for bin/readline.
|
# Install to a subdirectory since we don't want shims for bin/readline.
|
||||||
READLINE_PREFIX_PATH="${PREFIX_PATH}/readline"
|
READLINE_PREFIX_PATH="${PREFIX_PATH}/readline"
|
||||||
@@ -2331,7 +2337,7 @@ if [ -z "${GET_PIP_URL}" ]; then
|
|||||||
2.6 | 2.6.* )
|
2.6 | 2.6.* )
|
||||||
GET_PIP_URL="https://bootstrap.pypa.io/pip/2.6/get-pip.py"
|
GET_PIP_URL="https://bootstrap.pypa.io/pip/2.6/get-pip.py"
|
||||||
;;
|
;;
|
||||||
2.7 | 2.7.* )
|
2.7 | 2.7.* | pypy2.7 | pypy2.7-* )
|
||||||
GET_PIP_URL="https://bootstrap.pypa.io/pip/2.7/get-pip.py"
|
GET_PIP_URL="https://bootstrap.pypa.io/pip/2.7/get-pip.py"
|
||||||
;;
|
;;
|
||||||
3.2 | 3.2.* )
|
3.2 | 3.2.* )
|
||||||
@@ -2343,10 +2349,10 @@ if [ -z "${GET_PIP_URL}" ]; then
|
|||||||
3.4 | 3.4.* )
|
3.4 | 3.4.* )
|
||||||
GET_PIP_URL="https://bootstrap.pypa.io/pip/3.4/get-pip.py"
|
GET_PIP_URL="https://bootstrap.pypa.io/pip/3.4/get-pip.py"
|
||||||
;;
|
;;
|
||||||
3.5 | 3.5.* )
|
3.5 | 3.5.* | pypy3.5 | pypy3.5-* )
|
||||||
GET_PIP_URL="https://bootstrap.pypa.io/pip/3.5/get-pip.py"
|
GET_PIP_URL="https://bootstrap.pypa.io/pip/3.5/get-pip.py"
|
||||||
;;
|
;;
|
||||||
3.6 | 3.6.* )
|
3.6 | 3.6.* | pypy3.6 | pypy3.6-* )
|
||||||
GET_PIP_URL="https://bootstrap.pypa.io/pip/3.6/get-pip.py"
|
GET_PIP_URL="https://bootstrap.pypa.io/pip/3.6/get-pip.py"
|
||||||
;;
|
;;
|
||||||
* )
|
* )
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
prefer_openssl11
|
prefer_openssl3
|
||||||
export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1
|
export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1
|
||||||
export PYTHON_BUILD_TCLTK_USE_PKGCONFIG=1
|
export PYTHON_BUILD_TCLTK_USE_PKGCONFIG=1
|
||||||
export PYTHON_BUILD_CONFIGURE_WITH_DSYMUTIL=1
|
export PYTHON_BUILD_CONFIGURE_WITH_DSYMUTIL=1
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
prefer_openssl11
|
prefer_openssl3
|
||||||
export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1
|
export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1
|
||||||
install_package "openssl-3.1.1s" "https://www.openssl.org/source/openssl-3.1.1s.tar.gz#b3aa61334233b852b63ddb048df181177c2c659eb9d4376008118f9c08d07674" mac_openssl --if has_broken_mac_openssl
|
install_package "openssl-3.1.2" "https://www.openssl.org/source/openssl-3.1.2.tar.gz#a0ce69b8b97ea6a35b96875235aa453b966ba3cba8af2de23657d8b6767d6539" mac_openssl --if has_broken_mac_openssl
|
||||||
install_package "readline-8.2" "https://ftpmirror.gnu.org/readline/readline-8.2.tar.gz#3feb7171f16a84ee82ca18a36d7b9be109a52c04f492a053331d7d1095007c35" mac_readline --if has_broken_mac_readline
|
install_package "readline-8.2" "https://ftpmirror.gnu.org/readline/readline-8.2.tar.gz#3feb7171f16a84ee82ca18a36d7b9be109a52c04f492a053331d7d1095007c35" mac_readline --if has_broken_mac_readline
|
||||||
if has_tar_xz_support; then
|
if has_tar_xz_support; then
|
||||||
install_package "Python-3.12.0rc2" "https://www.python.org/ftp/python/3.12.0/Python-3.12.0rc2.tar.xz#11eb10376e6baf7bea53001f5181eaee1797788c4db6e83a061e422357927674" standard verify_py312 copy_python_gdb ensurepip
|
install_package "Python-3.12.0rc2" "https://www.python.org/ftp/python/3.12.0/Python-3.12.0rc2.tar.xz#11eb10376e6baf7bea53001f5181eaee1797788c4db6e83a061e422357927674" standard verify_py312 copy_python_gdb ensurepip
|
||||||
|
|||||||
@@ -393,6 +393,14 @@ OUT
|
|||||||
assert_success
|
assert_success
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@test "use the custom GET_PIP_URL for 2.7 versions" {
|
||||||
|
run_inline_definition_with_name --name=2.7 <<OUT
|
||||||
|
echo "\${GET_PIP_URL}"
|
||||||
|
OUT
|
||||||
|
assert_output "https://bootstrap.pypa.io/pip/2.7/get-pip.py"
|
||||||
|
assert_success
|
||||||
|
}
|
||||||
|
|
||||||
@test "use the custom GET_PIP_URL for 3.2 versions" {
|
@test "use the custom GET_PIP_URL for 3.2 versions" {
|
||||||
run_inline_definition_with_name --name=3.2 <<OUT
|
run_inline_definition_with_name --name=3.2 <<OUT
|
||||||
echo "\${GET_PIP_URL}"
|
echo "\${GET_PIP_URL}"
|
||||||
@@ -408,3 +416,51 @@ OUT
|
|||||||
assert_output "https://bootstrap.pypa.io/pip/3.3/get-pip.py"
|
assert_output "https://bootstrap.pypa.io/pip/3.3/get-pip.py"
|
||||||
assert_success
|
assert_success
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@test "use the custom GET_PIP_URL for 3.4 versions" {
|
||||||
|
run_inline_definition_with_name --name=3.4 <<OUT
|
||||||
|
echo "\${GET_PIP_URL}"
|
||||||
|
OUT
|
||||||
|
assert_output "https://bootstrap.pypa.io/pip/3.4/get-pip.py"
|
||||||
|
assert_success
|
||||||
|
}
|
||||||
|
|
||||||
|
@test "use the custom GET_PIP_URL for 3.5 versions" {
|
||||||
|
run_inline_definition_with_name --name=3.5 <<OUT
|
||||||
|
echo "\${GET_PIP_URL}"
|
||||||
|
OUT
|
||||||
|
assert_output "https://bootstrap.pypa.io/pip/3.5/get-pip.py"
|
||||||
|
assert_success
|
||||||
|
}
|
||||||
|
|
||||||
|
@test "use the custom GET_PIP_URL for 3.6 versions" {
|
||||||
|
run_inline_definition_with_name --name=3.6 <<OUT
|
||||||
|
echo "\${GET_PIP_URL}"
|
||||||
|
OUT
|
||||||
|
assert_output "https://bootstrap.pypa.io/pip/3.6/get-pip.py"
|
||||||
|
assert_success
|
||||||
|
}
|
||||||
|
|
||||||
|
@test "use the custom GET_PIP_URL for pypy2.7 versions" {
|
||||||
|
run_inline_definition_with_name --name=pypy2.7-7.3.12 <<OUT
|
||||||
|
echo "\${GET_PIP_URL}"
|
||||||
|
OUT
|
||||||
|
assert_output "https://bootstrap.pypa.io/pip/2.7/get-pip.py"
|
||||||
|
assert_success
|
||||||
|
}
|
||||||
|
|
||||||
|
@test "use the custom GET_PIP_URL for pypy3.5 versions" {
|
||||||
|
run_inline_definition_with_name --name=pypy3.5-7.0.0 <<OUT
|
||||||
|
echo "\${GET_PIP_URL}"
|
||||||
|
OUT
|
||||||
|
assert_output "https://bootstrap.pypa.io/pip/3.5/get-pip.py"
|
||||||
|
assert_success
|
||||||
|
}
|
||||||
|
|
||||||
|
@test "use the custom GET_PIP_URL for pypy3.6 versions" {
|
||||||
|
run_inline_definition_with_name --name=pypy3.6-7.3.3 <<OUT
|
||||||
|
echo "\${GET_PIP_URL}"
|
||||||
|
OUT
|
||||||
|
assert_output "https://bootstrap.pypa.io/pip/3.6/get-pip.py"
|
||||||
|
assert_success
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user