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-07-18 21:54:07 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pyenv (Old) and /work/SRC/openSUSE:Factory/.pyenv.new.3193 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "pyenv" Tue Jul 18 21:54:07 2023 rev:26 rq:1098932 version:2.3.22 Changes: -------- --- /work/SRC/openSUSE:Factory/pyenv/pyenv.changes 2023-06-21 22:41:22.026915677 +0200 +++ /work/SRC/openSUSE:Factory/.pyenv.new.3193/pyenv.changes 2023-07-18 21:54:15.250337278 +0200 @@ -1,0 +2,7 @@ +Sun Jul 16 11:03:27 UTC 2023 - Dirk Müller <dmuel...@suse.com> + +- update to 2.3.22: + * Add CPython 3.12.0b3 + * Add Cinder 3.10 and Cinder configure patches + +------------------------------------------------------------------- Old: ---- pyenv-2.3.21.tar.gz New: ---- pyenv-2.3.22.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pyenv.spec ++++++ --- /var/tmp/diff_new_pack.BTFNZC/_old 2023-07-18 21:54:16.050341693 +0200 +++ /var/tmp/diff_new_pack.BTFNZC/_new 2023-07-18 21:54:16.054341714 +0200 @@ -19,7 +19,7 @@ %define pyenv_dir %{_libexecdir}/pyenv # Name: pyenv -Version: 2.3.21 +Version: 2.3.22 Release: 0 Summary: Python Version Management License: MIT ++++++ pyenv-2.3.21.tar.gz -> pyenv-2.3.22.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyenv-2.3.21/CHANGELOG.md new/pyenv-2.3.22/CHANGELOG.md --- old/pyenv-2.3.21/CHANGELOG.md 2023-06-20 12:52:59.000000000 +0200 +++ new/pyenv-2.3.22/CHANGELOG.md 2023-07-08 21:38:47.000000000 +0200 @@ -1,5 +1,10 @@ # Version History +## Release v2.3.22 + +* Add CPython 3.12.0b3 by @edgarrmondragon in https://github.com/pyenv/pyenv/pull/2730 +* Add Cinder 3.10 and Cinder configure patches by @filips123 in https://github.com/pyenv/pyenv/pull/2739 + ## Release v2.3.21 * Add graalpy-23.0.0 by @msimacek in https://github.com/pyenv/pyenv/pull/2724 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyenv-2.3.21/libexec/pyenv---version new/pyenv-2.3.22/libexec/pyenv---version --- old/pyenv-2.3.21/libexec/pyenv---version 2023-06-20 12:52:59.000000000 +0200 +++ new/pyenv-2.3.22/libexec/pyenv---version 2023-07-08 21:38:47.000000000 +0200 @@ -12,7 +12,7 @@ set -e [ -n "$PYENV_DEBUG" ] && set -x -version="2.3.21" +version="2.3.22" 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.21/plugins/python-build/share/python-build/3.12.0b2 new/pyenv-2.3.22/plugins/python-build/share/python-build/3.12.0b2 --- old/pyenv-2.3.21/plugins/python-build/share/python-build/3.12.0b2 2023-06-20 12:52:59.000000000 +0200 +++ new/pyenv-2.3.22/plugins/python-build/share/python-build/3.12.0b2 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.0b2" "https://www.python.org/ftp/python/3.12.0/Python-3.12.0b2.tar.xz#8dfc42dda6e4d0647cf8a6f7cd900704dea9fd866402a282829bd2e6e271b818" standard verify_py312 copy_python_gdb ensurepip -else - install_package "Python-3.12.0b2" "https://www.python.org/ftp/python/3.12.0/Python-3.12.0b2.tgz#ad5f0d88824de3240928433efe427ce8aeb0f88928eb3f44e43647000cce599b" standard verify_py312 copy_python_gdb ensurepip -fi diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyenv-2.3.21/plugins/python-build/share/python-build/3.12.0b3 new/pyenv-2.3.22/plugins/python-build/share/python-build/3.12.0b3 --- old/pyenv-2.3.21/plugins/python-build/share/python-build/3.12.0b3 1970-01-01 01:00:00.000000000 +0100 +++ new/pyenv-2.3.22/plugins/python-build/share/python-build/3.12.0b3 2023-07-08 21:38:47.000000000 +0200 @@ -0,0 +1,9 @@ +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.0b3" "https://www.python.org/ftp/python/3.12.0/Python-3.12.0b3.tar.xz#9160c6065e9885b37c2e57865d0bb27fc7e54aaa9c186c761da30d2bddbcc9ee" standard verify_py312 copy_python_gdb ensurepip +else + install_package "Python-3.12.0b3" "https://www.python.org/ftp/python/3.12.0/Python-3.12.0b3.tgz#ef50ddb9e55d7ac25f8fa2130e6cc52247556167c5be51081fe2c7c1a67476f4" standard verify_py312 copy_python_gdb ensurepip +fi diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyenv-2.3.21/plugins/python-build/share/python-build/cinder-3.10-dev new/pyenv-2.3.22/plugins/python-build/share/python-build/cinder-3.10-dev --- old/pyenv-2.3.21/plugins/python-build/share/python-build/cinder-3.10-dev 1970-01-01 01:00:00.000000000 +0100 +++ new/pyenv-2.3.22/plugins/python-build/share/python-build/cinder-3.10-dev 2023-07-08 21:38:47.000000000 +0200 @@ -0,0 +1,43 @@ +if [ "$(expr substr "$(uname -s)" 1 5)" != "Linux" ]; then + { + echo + colorize 1 "ERROR" + echo ": Cinder currently only supports Linux." + echo + return 1 + } >&2 +fi + +if [[ $(${CC:-gcc} -dumpversion 2>/dev/null) != 10 ]] && + (command -v "gcc-10" >/dev/null) && + (command -v "g++-10" >/dev/null); then + echo "python-build: setting the compiler to GCC 10" + export CC="gcc-10" + export CXX="g++-10" +fi + +if [[ $(awk -F. '{print $1}' <<< "$(${CC:-gcc} -dumpversion)") -lt 10 ]]; then + { + echo + colorize 1 "ERROR" + echo ": Cinder requires at least GCC 10." + echo + return 1 + } >&2 +fi + +require_distro Fedora 32 &> /dev/null || + { + echo + colorize 1 "WARNING" + echo ": Cinder officially only supports Facebook's Docker" + echo "images which are based on Fedora 32. It may fail to build" + echo "on a system with a different GCC and/or Glibc version." + echo + } >&2 + +prefer_openssl11 +export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1 +install_package "openssl-1.1.1n" "https://www.openssl.org/source/openssl-1.1.1n.tar.gz#40dceb51a4f6a5275bde0e6bf20ef4b91bfc32ed57c0552e2e8e15463372b17a" 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 "Cinder-3.10-dev" "https://github.com/facebookincubator/cinder" "cinder/3.10" standard verify_py310 copy_python_gdb ensurepip diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyenv-2.3.21/plugins/python-build/share/python-build/cinder-3.8-dev new/pyenv-2.3.22/plugins/python-build/share/python-build/cinder-3.8-dev --- old/pyenv-2.3.21/plugins/python-build/share/python-build/cinder-3.8-dev 2023-06-20 12:52:59.000000000 +0200 +++ new/pyenv-2.3.22/plugins/python-build/share/python-build/cinder-3.8-dev 2023-07-08 21:38:47.000000000 +0200 @@ -1,28 +1,40 @@ -require_distro Fedora 32 &>/dev/null || \ -{ echo - colorize 1 "WARNING" - cat >&2 <<! -: The Cinder compiler only officially supports -Facebook's Docker images which are Fedora 32 - based. -It may fail to build on a system -with a different GCC and/or Glibc version. -! - echo -} +if [ "$(expr substr "$(uname -s)" 1 5)" != "Linux" ]; then + { + echo + colorize 1 "ERROR" + echo ": Cinder currently only supports Linux." + echo + return 1 + } >&2 +fi -[[ $(${CC:-gcc} -dumpversion 2>/dev/null) == 10 ]] || \ -{ command -v "gcc-10" >/dev/null && \ - export CC="gcc-10" && \ - echo "python-build: setting the compiler to \`gcc-10'"; } || \ -{ - echo - colorize 1 WARNING - cat >&2 <<! -: GCC 10 is not found on PATH. -The build may fail. -! - echo -} +if [[ $(${CC:-gcc} -dumpversion 2>/dev/null) != 10 ]] && + (command -v "gcc-10" >/dev/null) && + (command -v "g++-10" >/dev/null); then + echo "python-build: setting the compiler to GCC 10" + export CC="gcc-10" + export CXX="g++-10" +fi + +if [[ $(awk -F. '{print $1}' <<< "$(${CC:-gcc} -dumpversion)") -lt 10 ]]; then + { + echo + colorize 1 "ERROR" + echo ": Cinder requires at least GCC 10." + echo + return 1 + } >&2 +fi + +require_distro Fedora 32 &> /dev/null || + { + echo + colorize 1 "WARNING" + echo ": Cinder officially only supports Facebook's Docker" + echo "images which are based on Fedora 32. It may fail to build" + echo "on a system with a different GCC and/or Glibc version." + echo + } >&2 prefer_openssl11 export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyenv-2.3.21/plugins/python-build/share/python-build/patches/cinder-3.10-dev/Cinder-3.10-dev/001-disable-werror.patch new/pyenv-2.3.22/plugins/python-build/share/python-build/patches/cinder-3.10-dev/Cinder-3.10-dev/001-disable-werror.patch --- old/pyenv-2.3.21/plugins/python-build/share/python-build/patches/cinder-3.10-dev/Cinder-3.10-dev/001-disable-werror.patch 1970-01-01 01:00:00.000000000 +0100 +++ new/pyenv-2.3.22/plugins/python-build/share/python-build/patches/cinder-3.10-dev/Cinder-3.10-dev/001-disable-werror.patch 2023-07-08 21:38:47.000000000 +0200 @@ -0,0 +1,30 @@ +diff --git a/configure b/configure +index 5c74f00a..8bb51f40 100755 +--- a/configure ++++ b/configure +@@ -7057,8 +7057,8 @@ $as_echo "$ac_cv_extra_warnings" >&6; } + + if test $ac_cv_extra_warnings = yes + then +- CFLAGS_NODIST="$CFLAGS_NODIST -Wextra -Werror" +- CXXFLAGS_NODIST="$CXXFLAGS_NODIST -Wextra -Werror -Wno-implicit-fallthrough" ++ CFLAGS_NODIST="$CFLAGS_NODIST -Wextra" ++ CXXFLAGS_NODIST="$CXXFLAGS_NODIST -Wextra -Wno-implicit-fallthrough" + fi + + # Python doesn't violate C99 aliasing rules, but older versions of +diff --git a/configure.ac b/configure.ac +index c06b992d..6dee6632 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -1622,8 +1622,8 @@ yes) + + if test $ac_cv_extra_warnings = yes + then +- CFLAGS_NODIST="$CFLAGS_NODIST -Wextra -Werror" +- CXXFLAGS_NODIST="$CXXFLAGS_NODIST -Wextra -Werror -Wno-implicit-fallthrough" ++ CFLAGS_NODIST="$CFLAGS_NODIST -Wextra" ++ CXXFLAGS_NODIST="$CXXFLAGS_NODIST -Wextra -Wno-implicit-fallthrough" + fi + + # Python doesn't violate C99 aliasing rules, but older versions of diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyenv-2.3.21/plugins/python-build/share/python-build/patches/cinder-3.8-dev/Cinder-3.8-dev/001-disable-werror.patch new/pyenv-2.3.22/plugins/python-build/share/python-build/patches/cinder-3.8-dev/Cinder-3.8-dev/001-disable-werror.patch --- old/pyenv-2.3.21/plugins/python-build/share/python-build/patches/cinder-3.8-dev/Cinder-3.8-dev/001-disable-werror.patch 1970-01-01 01:00:00.000000000 +0100 +++ new/pyenv-2.3.22/plugins/python-build/share/python-build/patches/cinder-3.8-dev/Cinder-3.8-dev/001-disable-werror.patch 2023-07-08 21:38:47.000000000 +0200 @@ -0,0 +1,30 @@ +diff --git a/configure b/configure +index 0df332f7..df8143cf 100755 +--- a/configure ++++ b/configure +@@ -6952,8 +6952,8 @@ $as_echo "$ac_cv_extra_warnings" >&6; } + + if test $ac_cv_extra_warnings = yes + then +- CFLAGS_NODIST="$CFLAGS_NODIST -Wextra -Werror" +- CXXFLAGS_NODIST="$CXXFLAGS_NODIST -Wextra -Werror -Wno-implicit-fallthrough" ++ CFLAGS_NODIST="$CFLAGS_NODIST -Wextra" ++ CXXFLAGS_NODIST="$CXXFLAGS_NODIST -Wextra -Wno-implicit-fallthrough" + fi + + # Python doesn't violate C99 aliasing rules, but older versions of +diff --git a/configure.ac b/configure.ac +index f6718e36..0a651e7d 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -1579,8 +1579,8 @@ yes) + + if test $ac_cv_extra_warnings = yes + then +- CFLAGS_NODIST="$CFLAGS_NODIST -Wextra -Werror" +- CXXFLAGS_NODIST="$CXXFLAGS_NODIST -Wextra -Werror -Wno-implicit-fallthrough" ++ CFLAGS_NODIST="$CFLAGS_NODIST -Wextra" ++ CXXFLAGS_NODIST="$CXXFLAGS_NODIST -Wextra -Wno-implicit-fallthrough" + fi + + # Python doesn't violate C99 aliasing rules, but older versions of