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-10-08 12:17:55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pyenv (Old) and /work/SRC/openSUSE:Factory/.pyenv.new.28202 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "pyenv" Sun Oct 8 12:17:55 2023 rev:30 rq:1116042 version:2.3.29 Changes: -------- --- /work/SRC/openSUSE:Factory/pyenv/pyenv.changes 2023-09-20 13:28:57.350142917 +0200 +++ /work/SRC/openSUSE:Factory/.pyenv.new.28202/pyenv.changes 2023-10-08 12:20:56.847828883 +0200 @@ -1,0 +2,23 @@ +Fri Oct 6 07:42:24 UTC 2023 - Thomas Schraitle <thomas.schrai...@suse.com> - 2.3.29 + +- Update to 2.3.29 + - Add CPython 3.11.6 by @thecesrom in #2806 + - Add GraalPy 23.1.0 definition using the faster Oracle GraalVM distribution by @eregon in #2812 + - Install ncurses from Homebrew, if available by @aphedges in #2813 + +Full Changelog: https://github.com/pyenv/pyenv/compare/v2.3.28...v2.3.29 + +------------------------------------------------------------------- +Thu Oct 5 06:02:24 UTC 2023 - Thomas Schraitle <thomas.schrai...@suse.com> - 2.3.28 + +- Update to 2.3.28: + - Add CPython 3.12.0 by @edgarrmondragon in #2804 + - Prioritize 'zlib from xcode sdk' flag correctly by @native-api in #2791 + - Prefer OpenSSL 3 in Homebrew in 3.13-dev by @edgarrmondragon in #2793 + - Add CPython 3.12.0rc3 by @saaketp in #2795 + - Add graalpy-23.1.0 and split between graalpy and graalpy-community by @msimacek in #2796 + - Update the OpenSSL dependency for Python 2.7.18 by @lpapp-foundry in #2797 + +Full Changelog: https://github.com/pyenv/pyenv/compare/v2.3.27...v2.3.28 + +------------------------------------------------------------------- Old: ---- pyenv-2.3.27.tar.gz New: ---- pyenv-2.3.29.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pyenv.spec ++++++ --- /var/tmp/diff_new_pack.z2wrvW/_old 2023-10-08 12:20:57.799863112 +0200 +++ /var/tmp/diff_new_pack.z2wrvW/_new 2023-10-08 12:20:57.799863112 +0200 @@ -19,7 +19,7 @@ %define pyenv_dir %{_libexecdir}/pyenv # Name: pyenv -Version: 2.3.27 +Version: 2.3.29 Release: 0 Summary: Python Version Management License: MIT ++++++ pyenv-2.3.27.tar.gz -> pyenv-2.3.29.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyenv-2.3.27/CHANGELOG.md new/pyenv-2.3.29/CHANGELOG.md --- old/pyenv-2.3.27/CHANGELOG.md 2023-09-17 09:48:10.000000000 +0200 +++ new/pyenv-2.3.29/CHANGELOG.md 2023-10-06 07:05:47.000000000 +0200 @@ -1,6 +1,21 @@ # Version History -# Release v2.3.27 +## Release v2.3.29 + +* Add CPython 3.11.6 by @thecesrom in https://github.com/pyenv/pyenv/pull/2806 +* Add GraalPy 23.1.0 definition using the faster Oracle GraalVM distribution by @eregon in https://github.com/pyenv/pyenv/pull/2812 +* Install ncurses from Homebrew, if available by @aphedges in https://github.com/pyenv/pyenv/pull/2813 + +## Release v2.3.28 + +* Prioritize 'zlib from xcode sdk' flag correctly by @native-api in https://github.com/pyenv/pyenv/pull/2791 +* Prefer OpenSSL 3 in Homebrew in 3.13-dev by @edgarrmondragon in https://github.com/pyenv/pyenv/pull/2793 +* Add CPython 3.12.0rc3 by @saaketp in https://github.com/pyenv/pyenv/pull/2795 +* Add graalpy-23.1.0 and split between graalpy and graalpy-community by @msimacek in https://github.com/pyenv/pyenv/pull/2796 +* Update the OpenSSL dependency for Python 2.7.18 by @lpapp-foundry in https://github.com/pyenv/pyenv/pull/2797 +* Add CPython 3.12.0 by @edgarrmondragon in https://github.com/pyenv/pyenv/pull/2804 + +## 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 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyenv-2.3.27/libexec/pyenv---version new/pyenv-2.3.29/libexec/pyenv---version --- old/pyenv-2.3.27/libexec/pyenv---version 2023-09-17 09:48:10.000000000 +0200 +++ new/pyenv-2.3.29/libexec/pyenv---version 2023-10-06 07:05:47.000000000 +0200 @@ -12,7 +12,7 @@ set -e [ -n "$PYENV_DEBUG" ] && set -x -version="2.3.27" +version="2.3.29" 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.27/plugins/python-build/bin/python-build new/pyenv-2.3.29/plugins/python-build/bin/python-build --- old/pyenv-2.3.27/plugins/python-build/bin/python-build 2023-09-17 09:48:10.000000000 +0200 +++ new/pyenv-2.3.29/plugins/python-build/bin/python-build 2023-10-06 07:05:47.000000000 +0200 @@ -803,6 +803,7 @@ use_homebrew || true use_tcltk || true use_homebrew_readline || use_freebsd_pkg || true + use_homebrew_ncurses || true if is_mac -ge 1014; then use_xcode_sdk_zlib || use_homebrew_zlib || true else @@ -1468,6 +1469,18 @@ fi } +use_homebrew_ncurses() { + can_use_homebrew || return 1 + local libdir="$(brew --prefix ncurses 2>/dev/null || true)" + if [ -d "$libdir" ]; then + echo "python-build: use ncurses from homebrew" + export CPPFLAGS="-I$libdir/include${CPPFLAGS:+ $CPPFLAGS}" + export LDFLAGS="-L$libdir/lib${LDFLAGS:+ $LDFLAGS}" + else + return 1 + fi +} + prefer_openssl11() { # Allow overriding the preference of OpenSSL version per definition basis (#1302, #1325, #1326) PYTHON_BUILD_HOMEBREW_OPENSSL_FORMULA="${PYTHON_BUILD_HOMEBREW_OPENSSL_FORMULA:-openssl@1.1 openssl}" @@ -1616,7 +1629,7 @@ local xc_sdk_path="$(xcrun --show-sdk-path 2>/dev/null || true)" if [ -d "$xc_sdk_path" ]; then echo "python-build: use zlib from xcode sdk" - export CFLAGS="${CFLAGS:+$CFLAGS }-I${xc_sdk_path}/usr/include" + export CPPFLAGS="${CPPFLAGS:+$CPPFLAGS }-I${xc_sdk_path}/usr/include" if is_mac -ge 1100; then export LDFLAGS="${LDFLAGS:+$LDFLAGS }-L${xc_sdk_path}/usr/lib" fi diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyenv-2.3.27/plugins/python-build/share/python-build/2.7.18 new/pyenv-2.3.29/plugins/python-build/share/python-build/2.7.18 --- old/pyenv-2.3.27/plugins/python-build/share/python-build/2.7.18 2023-09-17 09:48:10.000000000 +0200 +++ new/pyenv-2.3.29/plugins/python-build/share/python-build/2.7.18 2023-10-06 07:05:47.000000000 +0200 @@ -1,5 +1,5 @@ export PYTHON_BUILD_HOMEBREW_OPENSSL_FORMULA="openssl@1.1 openssl@1.0 openssl" -install_package "openssl-1.0.2q" "https://www.openssl.org/source/old/1.0.2/openssl-1.0.2q.tar.gz#5744cfcbcec2b1b48629f7354203bc1e5e9b5466998bbccc5b5fcde3b18eb684" mac_openssl --if has_broken_mac_openssl +install_package "openssl-1.1.1v" "https://www.openssl.org/source/openssl-1.1.1v.tar.gz" mac_openssl --if has_broken_mac_openssl install_package "readline-8.0" "https://ftpmirror.gnu.org/readline/readline-8.0.tar.gz#e339f51971478d369f8a053a330a190781acb9864cf4c541060f12078948e461" mac_readline --if has_broken_mac_readline if has_tar_xz_support; then install_package "Python-2.7.18" "https://www.python.org/ftp/python/2.7.18/Python-2.7.18.tar.xz#b62c0e7937551d0cc02b8fd5cb0f544f9405bafc9a54d3808ed4594812edef43" standard verify_py27 copy_python_gdb ensurepip diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyenv-2.3.27/plugins/python-build/share/python-build/3.11.6 new/pyenv-2.3.29/plugins/python-build/share/python-build/3.11.6 --- old/pyenv-2.3.27/plugins/python-build/share/python-build/3.11.6 1970-01-01 01:00:00.000000000 +0100 +++ new/pyenv-2.3.29/plugins/python-build/share/python-build/3.11.6 2023-10-06 07:05:47.000000000 +0200 @@ -0,0 +1,10 @@ +prefer_openssl11 +export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1 +export PYTHON_BUILD_TCLTK_USE_PKGCONFIG=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.11.6" "https://www.python.org/ftp/python/3.11.6/Python-3.11.6.tar.xz#0fab78fa7f133f4f38210c6260d90d7c0d5c7198446419ce057ec7ac2e6f5f38" standard verify_py311 copy_python_gdb ensurepip +else + install_package "Python-3.11.6" "https://www.python.org/ftp/python/3.11.6/Python-3.11.6.tgz#c049bf317e877cbf9fce8c3af902436774ecef5249a29d10984ca3a37f7f4736" standard verify_py311 copy_python_gdb ensurepip +fi diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyenv-2.3.27/plugins/python-build/share/python-build/3.12-dev new/pyenv-2.3.29/plugins/python-build/share/python-build/3.12-dev --- old/pyenv-2.3.27/plugins/python-build/share/python-build/3.12-dev 2023-09-17 09:48:10.000000000 +0200 +++ new/pyenv-2.3.29/plugins/python-build/share/python-build/3.12-dev 2023-10-06 07:05:47.000000000 +0200 @@ -2,6 +2,6 @@ export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1 export PYTHON_BUILD_TCLTK_USE_PKGCONFIG=1 export PYTHON_BUILD_CONFIGURE_WITH_DSYMUTIL=1 -install_package "openssl-1.1.1k" "https://www.openssl.org/source/openssl-1.1.1k.tar.gz#892a0875b9872acd04a9fde79b1f943075d5ea162415de3047c327df33fbaee5" 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.0" "https://ftpmirror.gnu.org/readline/readline-8.0.tar.gz#e339f51971478d369f8a053a330a190781acb9864cf4c541060f12078948e461" mac_readline --if has_broken_mac_readline install_git "Python-3.12-dev" "https://github.com/python/cpython" 3.12 standard verify_py312 copy_python_gdb ensurepip diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyenv-2.3.27/plugins/python-build/share/python-build/3.12.0 new/pyenv-2.3.29/plugins/python-build/share/python-build/3.12.0 --- old/pyenv-2.3.27/plugins/python-build/share/python-build/3.12.0 1970-01-01 01:00:00.000000000 +0100 +++ new/pyenv-2.3.29/plugins/python-build/share/python-build/3.12.0 2023-10-06 07:05:47.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.0" "https://www.python.org/ftp/python/3.12.0/Python-3.12.0.tar.xz#795c34f44df45a0e9b9710c8c71c15c671871524cd412ca14def212e8ccb155d" standard verify_py312 copy_python_gdb ensurepip +else + install_package "Python-3.12.0" "https://www.python.org/ftp/python/3.12.0/Python-3.12.0.tgz#51412956d24a1ef7c97f1cb5f70e185c13e3de1f50d131c0aac6338080687afb" standard verify_py312 copy_python_gdb ensurepip +fi diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyenv-2.3.27/plugins/python-build/share/python-build/3.12.0rc2 new/pyenv-2.3.29/plugins/python-build/share/python-build/3.12.0rc2 --- old/pyenv-2.3.27/plugins/python-build/share/python-build/3.12.0rc2 2023-09-17 09:48:10.000000000 +0200 +++ new/pyenv-2.3.29/plugins/python-build/share/python-build/3.12.0rc2 1970-01-01 01:00:00.000000000 +0100 @@ -1,9 +0,0 @@ -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.27/plugins/python-build/share/python-build/3.13-dev new/pyenv-2.3.29/plugins/python-build/share/python-build/3.13-dev --- old/pyenv-2.3.27/plugins/python-build/share/python-build/3.13-dev 2023-09-17 09:48:10.000000000 +0200 +++ new/pyenv-2.3.29/plugins/python-build/share/python-build/3.13-dev 2023-10-06 07:05:47.000000000 +0200 @@ -1,7 +1,7 @@ -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 -install_package "openssl-1.1.1k" "https://www.openssl.org/source/openssl-1.1.1k.tar.gz#892a0875b9872acd04a9fde79b1f943075d5ea162415de3047c327df33fbaee5" 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.0" "https://ftpmirror.gnu.org/readline/readline-8.0.tar.gz#e339f51971478d369f8a053a330a190781acb9864cf4c541060f12078948e461" mac_readline --if has_broken_mac_readline install_git "Python-3.13-dev" "https://github.com/python/cpython" main standard verify_py313 copy_python_gdb ensurepip diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyenv-2.3.27/plugins/python-build/share/python-build/graalpy-23.1.0 new/pyenv-2.3.29/plugins/python-build/share/python-build/graalpy-23.1.0 --- old/pyenv-2.3.27/plugins/python-build/share/python-build/graalpy-23.1.0 1970-01-01 01:00:00.000000000 +0100 +++ new/pyenv-2.3.29/plugins/python-build/share/python-build/graalpy-23.1.0 2023-10-06 07:05:47.000000000 +0200 @@ -0,0 +1,63 @@ +# Copyright (c) 2023, Oracle and/or its affiliates. All rights reserved. +# +# Permission is hereby granted, free of charge, to any person obtaining a copy of +# this software and associated documentation files (the "Software"), to deal in +# the Software without restriction, including without limitation the rights to +# use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +# of the Software, and to permit persons to whom the Software is furnished to do +# so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +VERSION='23.1.0' +BUILD='' + +colorize 1 "GraalPy 23.1 and later installed by python-build use the faster Oracle GraalVM distribution" && echo +colorize 1 "Oracle GraalVM uses the GFTC license, which is free for development and production use, see https://medium.com/graalvm/161527df3d76" && echo +colorize 1 "The GraalVM Community Edition variant of GraalPy is also available, under the name graalpy-community-23.1.0" && echo + +graalpy_arch="$(graalpy_architecture 2>/dev/null || true)" + +case "$graalpy_arch" in +"linux-amd64" ) + checksum="afbb81f034e77aecf4717fe14f2a7403aa1b82f0abf53a2e55e46bd49efe8c39" + ;; +"linux-aarch64" ) + checksum="be1e21ea245ddbdb9c266e670d6f1e76a55c693f98cee44aa74a76b249e53f96" + ;; +"macos-amd64" ) + checksum="6445537c597567ccf5ae37d296ecd988a92149fb4a1fb57088811e75f19c6da4" + ;; +"macos-aarch64" ) + checksum="f1b9b22cd8c0afb7eabd59fad554c23f452fbafcdffccf8a22eca037199d62ae" + ;; +* ) + { echo + colorize 1 "ERROR" + echo ": No binary distribution of GraalPy is available for $(uname -sm)." + echo + } >&2 + exit 1 + ;; +esac + +if [ -n "${BUILD}" ]; then + { echo + colorize 1 "ERROR" + echo "Oracle GraalPy currently doesn't provide snapshot builds. Use graalpy-community if you need snapshots." + echo + } >&2 + exit 1 +fi + +url="https://github.com/oracle/graalpython/releases/download/graal-${VERSION}/graalpy-${VERSION}-${graalpy_arch}.tar.gz#${checksum}" + +install_package "graalpy-${VERSION}" "${url}" "copy" ensurepip diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyenv-2.3.27/plugins/python-build/share/python-build/graalpy-community-23.1.0 new/pyenv-2.3.29/plugins/python-build/share/python-build/graalpy-community-23.1.0 --- old/pyenv-2.3.27/plugins/python-build/share/python-build/graalpy-community-23.1.0 1970-01-01 01:00:00.000000000 +0100 +++ new/pyenv-2.3.29/plugins/python-build/share/python-build/graalpy-community-23.1.0 2023-10-06 07:05:47.000000000 +0200 @@ -0,0 +1,54 @@ +# Copyright (c) 2023, Oracle and/or its affiliates. All rights reserved. +# +# Permission is hereby granted, free of charge, to any person obtaining a copy of +# this software and associated documentation files (the "Software"), to deal in +# the Software without restriction, including without limitation the rights to +# use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +# of the Software, and to permit persons to whom the Software is furnished to do +# so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all +# copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +VERSION='23.1.0' +BUILD='' + +graalpy_arch="$(graalpy_architecture 2>/dev/null || true)" + +case "$graalpy_arch" in +"linux-amd64" ) + checksum="720334d90d52b5337db018ad6582953e9383c27188f08810250c2fe14a11db5a" + ;; +"linux-aarch64" ) + checksum="c7dc4f94413e667070f7d46f57af04c4db53383e721be9637b58cb030dfa1f58" + ;; +"macos-amd64" ) + checksum="13583382ba716231edce1b71d53e9efba776fef003ef2f515bda9c00a831779a" + ;; +"macos-aarch64" ) + checksum="5bc39af6938c507ec169b02a34237b6f4b286982e5be04b3109c171becc1949d" + ;; +* ) + { echo + colorize 1 "ERROR" + echo ": No binary distribution of GraalPy is available for $(uname -sm)." + echo + } >&2 + exit 1 + ;; +esac + +if [ -n "${BUILD}" ]; then + url="https://github.com/graalvm/graalvm-ce-dev-builds/releases/download/${VERSION}-dev-${BUILD}/graalpy-community-dev-${graalpy_arch}.tar.gz" +else + url="https://github.com/oracle/graalpython/releases/download/graal-${VERSION}/graalpy-community-${VERSION}-${graalpy_arch}.tar.gz#${checksum}" +fi + +install_package "graalpy-${VERSION}${BUILD}" "${url}" "copy" ensurepip diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyenv-2.3.27/plugins/python-build/test/build.bats new/pyenv-2.3.29/plugins/python-build/test/build.bats --- old/pyenv-2.3.27/plugins/python-build/test/build.bats 2023-09-17 09:48:10.000000000 +0200 +++ new/pyenv-2.3.29/plugins/python-build/test/build.bats 2023-10-06 07:05:47.000000000 +0200 @@ -62,7 +62,7 @@ cached_tarball "yaml-0.1.6" cached_tarball "Python-3.6.2" - for i in {1..9}; do stub uname '-s : echo Linux'; done + for i in {1..10}; do stub uname '-s : echo Linux'; done stub brew false stub_make_install stub_make_install @@ -89,7 +89,7 @@ cached_tarball "yaml-0.1.6" cached_tarball "Python-3.6.2" - for i in {1..9}; do stub uname '-s : echo Linux'; done + for i in {1..10}; do stub uname '-s : echo Linux'; done stub brew false stub_make_install stub_make_install @@ -119,7 +119,7 @@ cached_tarball "yaml-0.1.6" cached_tarball "Python-3.6.2" - for i in {1..9}; do stub uname '-s : echo Linux'; done + for i in {1..10}; do stub uname '-s : echo Linux'; done stub brew false stub_make_install stub_make_install @@ -151,7 +151,7 @@ BREW_PREFIX="$TMP/homebrew-prefix" mkdir -p "$BREW_PREFIX" - for i in {1..8}; do stub uname '-s : echo Darwin'; done + for i in {1..9}; do stub uname '-s : echo Darwin'; done for i in {1..2}; do stub sw_vers '-productVersion : echo 1010'; done stub brew "--prefix : echo '$BREW_PREFIX'" false stub_make_install @@ -179,10 +179,10 @@ brew_libdir="$TMP/homebrew-yaml" mkdir -p "$brew_libdir" - for i in {1..9}; do stub uname '-s : echo Darwin'; done + for i in {1..10}; do stub uname '-s : echo Darwin'; done for i in {1..2}; do stub sw_vers '-productVersion : echo 1010'; done stub brew "--prefix libyaml : echo '$brew_libdir'" - for i in {1..4}; do stub brew false; done + for i in {1..5}; do stub brew false; done stub_make_install install_fixture definitions/needs-yaml @@ -205,7 +205,7 @@ cached_tarball "yaml-0.1.6" cached_tarball "Python-3.6.2" - for i in {1..9}; do stub uname '-s : echo Linux'; done + for i in {1..10}; do stub uname '-s : echo Linux'; done stub brew true; brew stub_make_install stub_make_install @@ -234,11 +234,11 @@ readline_libdir="$TMP/homebrew-readline" mkdir -p "$readline_libdir" - for i in {1..7}; do stub uname '-s : echo Darwin'; done + for i in {1..8}; do stub uname '-s : echo Darwin'; done for i in {1..2}; do stub sw_vers '-productVersion : echo 1010'; done for i in {1..2}; do stub brew false; done stub brew "--prefix readline : echo '$readline_libdir'" - stub brew false + for i in {1..2}; do stub brew false; done stub_make_install run_inline_definition <<DEF @@ -259,12 +259,42 @@ OUT } +@test "ncurses is linked from Homebrew" { + cached_tarball "Python-3.6.2" + + ncurses_libdir="$TMP/homebrew-ncurses" + mkdir -p "$ncurses_libdir" + for i in {1..9}; do stub uname '-s : echo Darwin'; done + for i in {1..2}; do stub sw_vers '-productVersion : echo 1010'; done + for i in {1..3}; do stub brew false; done + stub brew "--prefix ncurses : echo '$ncurses_libdir'" + stub brew false + stub_make_install + + run_inline_definition <<DEF +install_package "Python-3.6.2" "http://python.org/ftp/python/3.6.2/Python-3.6.2.tar.gz" +DEF + assert_success + + unstub uname + unstub sw_vers + unstub brew + unstub make + + assert_build_log <<OUT +Python-3.6.2: CPPFLAGS="-I$ncurses_libdir/include -I${TMP}/install/include" LDFLAGS="-L$ncurses_libdir/lib -L${TMP}/install/lib -Wl,-rpath,${TMP}/install/lib" PKG_CONFIG_PATH="" +Python-3.6.2: --prefix=$INSTALL_ROOT --enable-shared --libdir=$INSTALL_ROOT/lib +make -j 2 +make install +OUT +} + @test "openssl is linked from Ports in FreeBSD if present" { cached_tarball "Python-3.6.2" for i in {1..7}; do stub uname '-s : echo FreeBSD'; done stub uname '-r : echo 11.0-RELEASE' - for i in {1..2}; do stub uname '-s : echo FreeBSD'; done + for i in {1..3}; do stub uname '-s : echo FreeBSD'; done stub sysctl '-n hw.ncpu : echo 1' stub pkg "info -e openssl : true" @@ -298,7 +328,7 @@ for i in {1..7}; do stub uname '-s : echo FreeBSD'; done stub uname '-r : echo 11.0-RELEASE' - for i in {1..2}; do stub uname '-s : echo FreeBSD'; done + for i in {1..3}; do stub uname '-s : echo FreeBSD'; done stub sysctl '-n hw.ncpu : echo 1' stub pkg false @@ -331,7 +361,7 @@ @test "no library searches performed during normal operation touch homebrew in non-MacOS" { cached_tarball "Python-3.6.2" - for i in {1..8}; do stub uname '-s : echo Linux'; done + for i in {1..9}; do stub uname '-s : echo Linux'; done stub brew true; brew stub_make_install @@ -386,10 +416,10 @@ mkdir -p "$readline_libdir/include/readline" touch "$readline_libdir/include/readline/rlconf.h" - for i in {1..7}; do stub uname '-s : echo Darwin'; done + for i in {1..8}; do stub uname '-s : echo Darwin'; done for i in {1..2}; do stub sw_vers '-productVersion : echo 1010'; done - for i in {1..3}; do stub brew false; done + for i in {1..4}; do stub brew false; done stub_make_install export PYTHON_CONFIGURE_OPTS="CPPFLAGS=-I$readline_libdir/include LDFLAGS=-L$readline_libdir/lib" @@ -418,12 +448,12 @@ mkdir -p "$tcl_tk_libdir/lib" echo "TCL_VERSION='$tcl_tk_version'" >>"$tcl_tk_libdir/lib/tclConfig.sh" - for i in {1..9}; do stub uname '-s : echo Darwin'; done + for i in {1..10}; do stub uname '-s : echo Darwin'; done for i in {1..2}; do stub sw_vers '-productVersion : echo 1010'; done stub brew false for i in {1..2}; do stub brew "--prefix tcl-tk : echo '$tcl_tk_libdir'"; done - for i in {1..2}; do stub brew false; done + for i in {1..3}; do stub brew false; done stub_make_install @@ -452,10 +482,10 @@ tcl_tk_version_long="8.6.10" tcl_tk_version="${tcl_tk_version_long%.*}" - for i in {1..8}; do stub uname '-s : echo Darwin'; done + for i in {1..9}; do stub uname '-s : echo Darwin'; done for i in {1..2}; do stub sw_vers '-productVersion : echo 1010'; done - for i in {1..4}; do stub brew false; done + for i in {1..5}; do stub brew false; done stub_make_install export PYTHON_CONFIGURE_OPTS="--with-tcltk-libs='-L${TMP}/custom-tcl-tk/lib -ltcl$tcl_tk_version -ltk$tcl_tk_version'" @@ -480,7 +510,7 @@ @test "tcl-tk is linked from Homebrew via pkgconfig only when envvar is set" { cached_tarball "Python-3.6.2" - for i in {1..9}; do stub uname '-s : echo Darwin'; done + for i in {1..10}; do stub uname '-s : echo Darwin'; done for i in {1..2}; do stub sw_vers '-productVersion : echo 1010'; done tcl_tk_libdir="$TMP/homebrew-tcl-tk" @@ -488,7 +518,7 @@ stub brew false for i in {1..2}; do stub brew "--prefix tcl-tk : echo '${tcl_tk_libdir}'"; done - for i in {1..2}; do stub brew false; done + for i in {1..3}; do stub brew false; done stub_make_install @@ -513,7 +543,7 @@ @test "number of CPU cores defaults to 2" { cached_tarball "Python-3.6.2" - for i in {1..9}; do stub uname '-s : echo Darwin'; done + for i in {1..10}; do stub uname '-s : echo Darwin'; done for i in {1..2}; do stub sw_vers '-productVersion : echo 10.10'; done stub sysctl false @@ -540,7 +570,7 @@ @test "number of CPU cores is detected on Mac" { cached_tarball "Python-3.6.2" - for i in {1..9}; do stub uname '-s : echo Darwin'; done + for i in {1..10}; do stub uname '-s : echo Darwin'; done for i in {1..2}; do stub sw_vers '-productVersion : echo 10.10'; done stub sysctl '-n hw.ncpu : echo 4' @@ -570,7 +600,7 @@ for i in {1..7}; do stub uname '-s : echo FreeBSD'; done stub uname '-r : echo 11.0-RELEASE' - for i in {1..2}; do stub uname '-s : echo FreeBSD'; done + for i in {1..3}; do stub uname '-s : echo FreeBSD'; done for i in {1..3}; do stub pkg false; done stub sysctl '-n hw.ncpu : echo 1' @@ -597,7 +627,7 @@ @test "setting PYTHON_MAKE_INSTALL_OPTS to a multi-word string" { cached_tarball "Python-3.6.2" - for i in {1..8}; do stub uname '-s : echo Linux'; done + for i in {1..9}; do stub uname '-s : echo Linux'; done stub_make_install @@ -621,7 +651,7 @@ @test "(PYTHON_)CONFIGURE_OPTS and (PYTHON_)MAKE_OPTS take priority over automatically added options" { cached_tarball "Python-3.6.2" - for i in {1..8}; do stub uname '-s : echo Linux'; done + for i in {1..9}; do stub uname '-s : echo Linux'; done stub_make_install @@ -649,7 +679,7 @@ @test "--enable-shared is not added if --disable-shared is passed" { cached_tarball "Python-3.6.2" - for i in {1..8}; do stub uname '-s : echo Linux'; done + for i in {1..9}; do stub uname '-s : echo Linux'; done stub_make_install @@ -673,9 +703,9 @@ @test "configuring with dSYM in MacOS" { cached_tarball "Python-3.6.2" - for i in {1..9}; do stub uname '-s : echo Darwin'; done + for i in {1..10}; do stub uname '-s : echo Darwin'; done for i in {1..2}; do stub sw_vers '-productVersion : echo 1010'; done - for i in {1..4}; do stub brew false; done + for i in {1..5}; do stub brew false; done stub_make_install run_inline_definition <<DEF @@ -700,7 +730,7 @@ @test "configuring with dSYM has no effect in non-MacOS" { cached_tarball "Python-3.6.2" - for i in {1..9}; do stub uname '-s : echo Linux'; done + for i in {1..10}; do stub uname '-s : echo Linux'; done stub_make_install run_inline_definition <<DEF @@ -735,7 +765,7 @@ stub uname "-s : echo FreeBSD" "-r : echo 9.1" for i in {1..6}; do stub uname "-s : echo FreeBSD"; done stub uname "-r : echo 9.1" - for i in {1..2}; do stub uname "-s : echo FreeBSD"; done + for i in {1..3}; do stub uname "-s : echo FreeBSD"; done MAKE=gmake stub_make_install @@ -752,7 +782,7 @@ stub uname "-s : echo FreeBSD" "-r : echo 10.0-RELEASE" for i in {1..6}; do stub uname "-s : echo FreeBSD"; done stub uname "-r : echo 10.0-RELEASE" - for i in {1..2}; do stub uname "-s : echo FreeBSD"; done + for i in {1..3}; do stub uname "-s : echo FreeBSD"; done stub_make_install @@ -768,7 +798,7 @@ stub uname "-s : echo FreeBSD" "-r : echo 11.0-RELEASE" for i in {1..6}; do stub uname "-s : echo FreeBSD"; done stub uname "-r : echo 11.0-RELEASE" - for i in {1..2}; do stub uname "-s : echo FreeBSD"; done + for i in {1..3}; do stub uname "-s : echo FreeBSD"; done stub_make_install @@ -787,7 +817,7 @@ exec ./configure "\$@" CONF - for i in {1..8}; do stub uname '-s : echo Linux'; done + for i in {1..9}; do stub uname '-s : echo Linux'; done stub apply 'echo apply "$@" >> build.log' stub_make_install diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyenv-2.3.27/plugins/python-build/test/compiler.bats new/pyenv-2.3.29/plugins/python-build/test/compiler.bats --- old/pyenv-2.3.27/plugins/python-build/test/compiler.bats 2023-09-17 09:48:10.000000000 +0200 +++ new/pyenv-2.3.29/plugins/python-build/test/compiler.bats 2023-10-06 07:05:47.000000000 +0200 @@ -69,7 +69,7 @@ mkdir -p "$INSTALL_ROOT" cd "$INSTALL_ROOT" - for i in {1..9}; do stub uname '-s : echo Darwin'; done + for i in {1..10}; do stub uname '-s : echo Darwin'; done for i in {1..3}; do stub sw_vers '-productVersion : echo 10.10'; done stub cc 'false' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyenv-2.3.27/plugins/python-build/test/pyenv_ext.bats new/pyenv-2.3.29/plugins/python-build/test/pyenv_ext.bats --- old/pyenv-2.3.27/plugins/python-build/test/pyenv_ext.bats 2023-09-17 09:48:10.000000000 +0200 +++ new/pyenv-2.3.29/plugins/python-build/test/pyenv_ext.bats 2023-10-06 07:05:47.000000000 +0200 @@ -325,7 +325,7 @@ cached_tarball "Python-3.6.2" for i in {1..4}; do stub brew false; done - for i in {1..7}; do stub uname '-s : echo Linux'; done + for i in {1..8}; do stub uname '-s : echo Linux'; done stub "$MAKE" \ " : echo \"$MAKE \$@\" >> build.log" \ " : echo \"$MAKE \$@\" >> build.log && cat build.log >> '$INSTALL_ROOT/build.log'"