Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package pyenv for openSUSE:Factory checked in at 2023-09-20 13:27:04 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pyenv (Old) and /work/SRC/openSUSE:Factory/.pyenv.new.16627 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "pyenv" Wed Sep 20 13:27:04 2023 rev:29 rq:1112024 version:2.3.27 Changes: -------- --- /work/SRC/openSUSE:Factory/pyenv/pyenv.changes 2023-08-28 17:17:24.709383560 +0200 +++ /work/SRC/openSUSE:Factory/.pyenv.new.16627/pyenv.changes 2023-09-20 13:28:57.350142917 +0200 @@ -1,0 +2,19 @@ +Mon Sep 18 11:10:33 UTC 2023 - Thomas Schraitle <thomas.schrai...@suse.com> - 2.3.27 + +- Update to 2.3.27: + - Prefer OpenSSL 3 in Homebrew since 3.12 by @native-api in #2781 + - Fix get-pip urls for older pypy versions by @TimPansino in #2788 + - Update openssl url for 3.12.0rc2 by @zsol in #2789 + +Full Changelog: https://github.com/pyenv/pyenv/compare/v2.3.26...v2.3.27 + +------------------------------------------------------------------- +Thu Sep 7 15:13:38 UTC 2023 - Thomas Schraitle <thomas.schrai...@suse.com> - 2.3.26 + +- Update to 2.3.26: + * Prevent grep warning in conda.bash in #2768 + * fix a typo in README.md in #2769 + * use -I with ensurepip in #2764 + * Add CPython 3.12.0rc2 in #2778 + +------------------------------------------------------------------- Old: ---- pyenv-2.3.25.tar.gz New: ---- pyenv-2.3.27.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pyenv.spec ++++++ --- /var/tmp/diff_new_pack.LcYoA6/_old 2023-09-20 13:28:58.670190209 +0200 +++ /var/tmp/diff_new_pack.LcYoA6/_new 2023-09-20 13:28:58.674190352 +0200 @@ -19,7 +19,7 @@ %define pyenv_dir %{_libexecdir}/pyenv # Name: pyenv -Version: 2.3.25 +Version: 2.3.27 Release: 0 Summary: Python Version Management License: MIT ++++++ pyenv-2.3.25.tar.gz -> pyenv-2.3.27.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyenv-2.3.25/.github/workflows/macos_build.yml new/pyenv-2.3.27/.github/workflows/macos_build.yml --- old/pyenv-2.3.25/.github/workflows/macos_build.yml 2023-08-27 10:29:50.000000000 +0200 +++ new/pyenv-2.3.27/.github/workflows/macos_build.yml 2023-09-17 09:48:10.000000000 +0200 @@ -10,7 +10,6 @@ fail-fast: false matrix: python-version: - - "3.7" - "3.8" - "3.9" - "3.10" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyenv-2.3.25/.github/workflows/ubuntu_build.yml new/pyenv-2.3.27/.github/workflows/ubuntu_build.yml --- old/pyenv-2.3.25/.github/workflows/ubuntu_build.yml 2023-08-27 10:29:50.000000000 +0200 +++ new/pyenv-2.3.27/.github/workflows/ubuntu_build.yml 2023-09-17 09:48:10.000000000 +0200 @@ -10,7 +10,6 @@ fail-fast: false matrix: python-version: - - "3.7" - "3.8" - "3.9" - "3.10" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyenv-2.3.25/CHANGELOG.md new/pyenv-2.3.27/CHANGELOG.md --- old/pyenv-2.3.25/CHANGELOG.md 2023-08-27 10:29:50.000000000 +0200 +++ new/pyenv-2.3.27/CHANGELOG.md 2023-09-17 09:48:10.000000000 +0200 @@ -1,5 +1,18 @@ # 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 + +* Prevent `grep` warning in `conda.bash` by @aphedges in https://github.com/pyenv/pyenv/pull/2768 +* fix a typo in README.md by @xzmeng in https://github.com/pyenv/pyenv/pull/2769 +* use -I with ensurepip by @xaocon in https://github.com/pyenv/pyenv/pull/2764 +* Add CPython 3.12.0rc2 by @edgarrmondragon in https://github.com/pyenv/pyenv/pull/2778 + ## Release v2.3.25 * Add CPython 3.8.18, 3.9.18, 3.10.13, 3.11.5 by @edgarrmondragon in https://github.com/pyenv/pyenv/pull/2763 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyenv-2.3.25/README.md new/pyenv-2.3.27/README.md --- old/pyenv-2.3.25/README.md 2023-08-27 10:29:50.000000000 +0200 +++ new/pyenv-2.3.27/README.md 2023-09-17 09:48:10.000000000 +0200 @@ -573,7 +573,7 @@ ## Pyenv plugins -Pyenv provides a simple, flexible and maintainable way to extend and customize its functionalty with plugins -- +Pyenv provides a simple, flexible and maintainable way to extend and customize its functionality with plugins -- as simple as creating a plugin directory and dropping a shell script on a certain subpath of it with whatever extra logic you need to be run at certain moments. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyenv-2.3.25/libexec/pyenv---version new/pyenv-2.3.27/libexec/pyenv---version --- old/pyenv-2.3.25/libexec/pyenv---version 2023-08-27 10:29:50.000000000 +0200 +++ new/pyenv-2.3.27/libexec/pyenv---version 2023-09-17 09:48:10.000000000 +0200 @@ -12,7 +12,7 @@ set -e [ -n "$PYENV_DEBUG" ] && set -x -version="2.3.25" +version="2.3.27" git_revision="" if cd "${BASH_SOURCE%/*}" 2>/dev/null && git remote -v 2>/dev/null | grep -q pyenv; then diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyenv-2.3.25/plugins/.gitignore new/pyenv-2.3.27/plugins/.gitignore --- old/pyenv-2.3.25/plugins/.gitignore 2023-08-27 10:29:50.000000000 +0200 +++ new/pyenv-2.3.27/plugins/.gitignore 2023-09-17 09:48:10.000000000 +0200 @@ -2,3 +2,4 @@ !/.gitignore !/version-ext-compat !/python-build +/python-build/test/build diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyenv-2.3.25/plugins/python-build/bin/python-build new/pyenv-2.3.27/plugins/python-build/bin/python-build --- old/pyenv-2.3.25/plugins/python-build/bin/python-build 2023-08-27 10:29:50.000000000 +0200 +++ new/pyenv-2.3.27/plugins/python-build/bin/python-build 2023-09-17 09:48:10.000000000 +0200 @@ -1474,6 +1474,12 @@ 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() { # Install to a subdirectory since we don't want shims for bin/readline. READLINE_PREFIX_PATH="${PREFIX_PATH}/readline" @@ -2025,7 +2031,7 @@ ensurepip_opts="--altinstall" fi # FIXME: `--altinstall` with `get-pip.py` - "$PYTHON_BIN" -s -m ensurepip ${ensurepip_opts} 1>/dev/null 2>&1 || build_package_get_pip "$@" || return 1 + "$PYTHON_BIN" -I -m ensurepip ${ensurepip_opts} 1>/dev/null 2>&1 || build_package_get_pip "$@" || return 1 build_package_symlink_version_suffix } @@ -2331,7 +2337,7 @@ 2.6 | 2.6.* ) 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" ;; 3.2 | 3.2.* ) @@ -2343,10 +2349,10 @@ 3.4 | 3.4.* ) 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" ;; - 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" ;; * ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyenv-2.3.25/plugins/python-build/share/python-build/3.12-dev new/pyenv-2.3.27/plugins/python-build/share/python-build/3.12-dev --- old/pyenv-2.3.25/plugins/python-build/share/python-build/3.12-dev 2023-08-27 10:29:50.000000000 +0200 +++ new/pyenv-2.3.27/plugins/python-build/share/python-build/3.12-dev 2023-09-17 09:48:10.000000000 +0200 @@ -1,4 +1,4 @@ -prefer_openssl11 +prefer_openssl3 export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1 export PYTHON_BUILD_TCLTK_USE_PKGCONFIG=1 export PYTHON_BUILD_CONFIGURE_WITH_DSYMUTIL=1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyenv-2.3.25/plugins/python-build/share/python-build/3.12.0rc1 new/pyenv-2.3.27/plugins/python-build/share/python-build/3.12.0rc1 --- old/pyenv-2.3.25/plugins/python-build/share/python-build/3.12.0rc1 2023-08-27 10:29:50.000000000 +0200 +++ new/pyenv-2.3.27/plugins/python-build/share/python-build/3.12.0rc1 1970-01-01 01:00:00.000000000 +0100 @@ -1,9 +0,0 @@ -prefer_openssl11 -export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1 -install_package "openssl-1.1.1s" "https://www.openssl.org/source/openssl-1.1.1s.tar.gz#c5ac01e760ee6ff0dab61d6b2bbd30146724d063eb322180c6f18a6f74e4b6aa" 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 -if has_tar_xz_support; then - install_package "Python-3.12.0rc1" "https://www.python.org/ftp/python/3.12.0/Python-3.12.0rc1.tar.xz#bd88d516b51474d7facae3ed7ab6a421efb17e583c21c8a749470f293e2575fc" standard verify_py312 copy_python_gdb ensurepip -else - install_package "Python-3.12.0rc1" "https://www.python.org/ftp/python/3.12.0/Python-3.12.0rc1.tgz#ccd2e1bc72caaa0296c455198893c0fee7e25e56e7a23eb7d667fc8d2ba525c6" standard verify_py312 copy_python_gdb ensurepip -fi diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyenv-2.3.25/plugins/python-build/share/python-build/3.12.0rc2 new/pyenv-2.3.27/plugins/python-build/share/python-build/3.12.0rc2 --- old/pyenv-2.3.25/plugins/python-build/share/python-build/3.12.0rc2 1970-01-01 01:00:00.000000000 +0100 +++ new/pyenv-2.3.27/plugins/python-build/share/python-build/3.12.0rc2 2023-09-17 09:48:10.000000000 +0200 @@ -0,0 +1,9 @@ +prefer_openssl3 +export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1 +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 +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 +else + install_package "Python-3.12.0rc2" "https://www.python.org/ftp/python/3.12.0/Python-3.12.0rc2.tgz#c3ef992c5c0067bc9a185de79fe0c1650a9a061b4d47d8787de20e04f22e2b29" standard verify_py312 copy_python_gdb ensurepip +fi diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyenv-2.3.25/plugins/python-build/test/pyenv_ext.bats new/pyenv-2.3.27/plugins/python-build/test/pyenv_ext.bats --- old/pyenv-2.3.25/plugins/python-build/test/pyenv_ext.bats 2023-08-27 10:29:50.000000000 +0200 +++ new/pyenv-2.3.27/plugins/python-build/test/pyenv_ext.bats 2023-09-17 09:48:10.000000000 +0200 @@ -200,7 +200,7 @@ assert_success assert_build_log <<OUT -python -s -m ensurepip +python -I -m ensurepip OUT } @@ -218,7 +218,7 @@ assert_success assert_build_log <<OUT -python -s -m ensurepip --altinstall +python -I -m ensurepip --altinstall OUT } @@ -393,6 +393,14 @@ 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" { run_inline_definition_with_name --name=3.2 <<OUT echo "\${GET_PIP_URL}" @@ -408,3 +416,51 @@ assert_output "https://bootstrap.pypa.io/pip/3.3/get-pip.py" 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 +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyenv-2.3.25/pyenv.d/rehash/conda.bash new/pyenv-2.3.27/pyenv.d/rehash/conda.bash --- old/pyenv-2.3.25/pyenv.d/rehash/conda.bash 2023-08-27 10:29:50.000000000 +0200 +++ new/pyenv-2.3.27/pyenv.d/rehash/conda.bash 2023-09-17 09:48:10.000000000 +0200 @@ -35,7 +35,7 @@ deregister_conda_shims() { # adapted for Bash 4.x's associative array (#1749) - if declare -p registered_shims 2> /dev/null | grep -Eq '^(declare|typeset) \-A'; then + if declare -p registered_shims 2> /dev/null | grep -Eq '^(declare|typeset) -A'; then for shim in ${!registered_shims[*]}; do if conda_shim "${shim}" 1>&2; then unset registered_shims[${shim}]