Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package pyenv for openSUSE:Factory checked 
in at 2024-09-23 15:23:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/pyenv (Old)
 and      /work/SRC/openSUSE:Factory/.pyenv.new.29891 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "pyenv"

Mon Sep 23 15:23:44 2024 rev:49 rq:1202557 version:2.4.13

Changes:
--------
--- /work/SRC/openSUSE:Factory/pyenv/pyenv.changes      2024-09-09 
14:46:52.272752068 +0200
+++ /work/SRC/openSUSE:Factory/.pyenv.new.29891/pyenv.changes   2024-09-23 
15:24:39.747510106 +0200
@@ -1,0 +2,10 @@
+Mon Sep 23 07:48:44 UTC 2024 - Thomas Schraitle <thomas.schrai...@suse.com> - 
2.4.13
+
+- Update 2.4.13
+  * docs: Use --verbose with performance CPython build instructions by 
@caerulescens in #3053
+  * Fix latest version resolution when using python- prefix by @edmorley in 
#3056
+  * Fix tgz checksum for 3.9.20; fallback OpenSSL URLs and checksums by 
@native-api in #3060
+  * Fix OpenSSL 3.3.2 download URLs by @edgarrmondragon in #3059
+  * Add GraalPy 24.1.0 by @msimacek in #3066
+
+-------------------------------------------------------------------

Old:
----
  pyenv-2.4.12.tar.gz

New:
----
  pyenv-2.4.13.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ pyenv.spec ++++++
--- /var/tmp/diff_new_pack.iAemIh/_old  2024-09-23 15:24:40.239530448 +0200
+++ /var/tmp/diff_new_pack.iAemIh/_new  2024-09-23 15:24:40.243530613 +0200
@@ -19,7 +19,7 @@
 %define pyenv_dir      %{_libexecdir}/pyenv
 #
 Name:           pyenv
-Version:        2.4.12
+Version:        2.4.13
 Release:        0
 Summary:        Python Version Management
 License:        MIT

++++++ pyenv-2.4.12.tar.gz -> pyenv-2.4.13.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyenv-2.4.12/CHANGELOG.md 
new/pyenv-2.4.13/CHANGELOG.md
--- old/pyenv-2.4.12/CHANGELOG.md       2024-09-07 17:50:46.000000000 +0200
+++ new/pyenv-2.4.13/CHANGELOG.md       2024-09-18 06:38:48.000000000 +0200
@@ -1,5 +1,12 @@
 # Version History
 
+## Release v2.4.13
+* docs: Use `--verbose` with performance CPython build instructions by 
@caerulescens in https://github.com/pyenv/pyenv/pull/3053
+* Fix latest version resolution when using `python-` prefix by @edmorley in 
https://github.com/pyenv/pyenv/pull/3056
+* Fix tgz checksum for 3.9.20; fallback OpenSSL URLs and checksums by 
@native-api in https://github.com/pyenv/pyenv/pull/3060
+* Fix OpenSSL 3.3.2 download URLs by @edgarrmondragon in 
https://github.com/pyenv/pyenv/pull/3059
+* Add GraalPy 24.1.0 by @msimacek in https://github.com/pyenv/pyenv/pull/3066
+
 ## Release v2.4.12
 * Add CPython 3.13.0rc2 by @edgarrmondragon in 
https://github.com/pyenv/pyenv/pull/3049
 * Add CPython 3.8.20, 3.9.20, 3.10.15, 3.11.10 and 3.12.6 by @edgarrmondragon 
in https://github.com/pyenv/pyenv/pull/3050
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyenv-2.4.12/libexec/pyenv---version 
new/pyenv-2.4.13/libexec/pyenv---version
--- old/pyenv-2.4.12/libexec/pyenv---version    2024-09-07 17:50:46.000000000 
+0200
+++ new/pyenv-2.4.13/libexec/pyenv---version    2024-09-18 06:38:48.000000000 
+0200
@@ -12,7 +12,7 @@
 set -e
 [ -n "$PYENV_DEBUG" ] && set -x
 
-version="2.4.12"
+version="2.4.13"
 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.4.12/libexec/pyenv-version-name 
new/pyenv-2.4.13/libexec/pyenv-version-name
--- old/pyenv-2.4.12/libexec/pyenv-version-name 2024-09-07 17:50:46.000000000 
+0200
+++ new/pyenv-2.4.13/libexec/pyenv-version-name 2024-09-18 06:38:48.000000000 
+0200
@@ -30,11 +30,11 @@
 { IFS=:
   any_not_installed=0
   for version in ${PYENV_VERSION}; do
-    if version_exists "$version" || [ "$version" = "system" ]; then
-      versions=("${versions[@]}" "${version}")
-    elif version_exists "${version#python-}"; then
-      versions=("${versions[@]}" "${version#python-}")
-    elif resolved_version="$(pyenv-latest -b "$version")"; then
+    # Remove the explicit 'python-' prefix from versions like 'python-3.12'.
+    normalised_version="${version#python-}"
+    if version_exists "${normalised_version}" || [ "$version" = "system" ]; 
then
+      versions=("${versions[@]}" "${normalised_version}")
+    elif resolved_version="$(pyenv-latest -b "${normalised_version}")"; then
       versions=("${versions[@]}" "${resolved_version}")
     else
       echo "pyenv: version \`$version' is not installed (set by 
$(pyenv-version-origin))" >&2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyenv-2.4.12/plugins/python-build/README.md 
new/pyenv-2.4.13/plugins/python-build/README.md
--- old/pyenv-2.4.12/plugins/python-build/README.md     2024-09-07 
17:50:46.000000000 +0200
+++ new/pyenv-2.4.13/plugins/python-build/README.md     2024-09-18 
06:38:48.000000000 +0200
@@ -208,7 +208,7 @@
 common for performance improvement from this to be in the ballpark of 30%.
 
 ```sh
-env PYTHON_CONFIGURE_OPTS='--enable-optimizations --with-lto' 
PYTHON_CFLAGS='-march=native -mtune=native' pyenv install 3.6.0
+env PYTHON_CONFIGURE_OPTS='--enable-optimizations --with-lto' 
PYTHON_CFLAGS='-march=native -mtune=native' pyenv install --verbose 3.6.0
 ```
 
 You can also customize the task used for profile guided optimization by setting
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pyenv-2.4.12/plugins/python-build/share/python-build/3.11.10 
new/pyenv-2.4.13/plugins/python-build/share/python-build/3.11.10
--- old/pyenv-2.4.12/plugins/python-build/share/python-build/3.11.10    
2024-09-07 17:50:46.000000000 +0200
+++ new/pyenv-2.4.13/plugins/python-build/share/python-build/3.11.10    
2024-09-18 06:38:48.000000000 +0200
@@ -1,7 +1,7 @@
 prefer_openssl3
 export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1
 export PYTHON_BUILD_TCLTK_USE_PKGCONFIG=1
-install_package "openssl-3.2.2" 
"https://www.openssl.org/source/openssl-3.2.2.tar.gz#2e8a40b01979afe8be0bbfb3de5dc1c6709fedb46d6c89c10da114ab5fc3d281";
 mac_openssl --if has_broken_mac_openssl
+install_package "openssl-3.2.2" 
"https://openssl.org/source/old/3.2/openssl-3.2.2.tar.gz#197149c18d9e9f292c43f0400acaba12e5f52cacfe050f3d199277ea738ec2e7";
 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.10" 
"https://www.python.org/ftp/python/3.11.10/Python-3.11.10.tar.xz#07a4356e912900e61a15cb0949a06c4a05012e213ecd6b4e84d0f67aabbee372";
 standard verify_py311 copy_python_gdb ensurepip
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pyenv-2.4.12/plugins/python-build/share/python-build/3.12.6 
new/pyenv-2.4.13/plugins/python-build/share/python-build/3.12.6
--- old/pyenv-2.4.12/plugins/python-build/share/python-build/3.12.6     
2024-09-07 17:50:46.000000000 +0200
+++ new/pyenv-2.4.13/plugins/python-build/share/python-build/3.12.6     
2024-09-18 06:38:48.000000000 +0200
@@ -1,6 +1,6 @@
 prefer_openssl3
 export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1
-install_package "openssl-3.3.2" 
"https://www.openssl.org/source/openssl-3.3.2.tar.gz#2e8a40b01979afe8be0bbfb3de5dc1c6709fedb46d6c89c10da114ab5fc3d281";
 mac_openssl --if has_broken_mac_openssl
+install_package "openssl-3.3.2" 
"https://github.com/openssl/openssl/releases/download/openssl-3.3.2/openssl-3.3.2.tar.gz#2e8a40b01979afe8be0bbfb3de5dc1c6709fedb46d6c89c10da114ab5fc3d281";
 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.6" 
"https://www.python.org/ftp/python/3.12.6/Python-3.12.6.tar.xz#1999658298cf2fb837dffed8ff3c033ef0c98ef20cf73c5d5f66bed5ab89697c";
 standard verify_py312 copy_python_gdb ensurepip
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pyenv-2.4.12/plugins/python-build/share/python-build/3.13.0rc2 
new/pyenv-2.4.13/plugins/python-build/share/python-build/3.13.0rc2
--- old/pyenv-2.4.12/plugins/python-build/share/python-build/3.13.0rc2  
2024-09-07 17:50:46.000000000 +0200
+++ new/pyenv-2.4.13/plugins/python-build/share/python-build/3.13.0rc2  
2024-09-18 06:38:48.000000000 +0200
@@ -1,6 +1,6 @@
 prefer_openssl3
 export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1
-install_package "openssl-3.3.2" 
"https://www.openssl.org/source/openssl-3.3.2.tar.gz#2e8a40b01979afe8be0bbfb3de5dc1c6709fedb46d6c89c10da114ab5fc3d281";
 mac_openssl --if has_broken_mac_openssl
+install_package "openssl-3.3.2" 
"https://github.com/openssl/openssl/releases/download/openssl-3.3.2/openssl-3.3.2.tar.gz#2e8a40b01979afe8be0bbfb3de5dc1c6709fedb46d6c89c10da114ab5fc3d281";
 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.13.0rc2" 
"https://www.python.org/ftp/python/3.13.0/Python-3.13.0rc2.tar.xz#d60e8b7c10de4f71d2dffaf7c7be8efa54dc1e532fe931dbb84e5f625709e237";
 standard verify_py313 copy_python_gdb ensurepip
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pyenv-2.4.12/plugins/python-build/share/python-build/3.9.20 
new/pyenv-2.4.13/plugins/python-build/share/python-build/3.9.20
--- old/pyenv-2.4.12/plugins/python-build/share/python-build/3.9.20     
2024-09-07 17:50:46.000000000 +0200
+++ new/pyenv-2.4.13/plugins/python-build/share/python-build/3.9.20     
2024-09-18 06:38:48.000000000 +0200
@@ -8,5 +8,5 @@
 if has_tar_xz_support; then
   install_package "Python-3.9.20" 
"https://www.python.org/ftp/python/3.9.20/Python-3.9.20.tar.xz#6b281279efd85294d2d6993e173983a57464c0133956fbbb5536ec9646beaf0c";
 standard verify_py39 copy_python_gdb ensurepip
 else
-  install_package "Python-3.9.20" 
"https://www.python.org/ftp/python/3.9.20/Python-3.9.20.tgz#9f2d5962c2583e67ef75924cd56d0c1af78bf45ec57035cf8a2cc09f74f4bf78";
 standard verify_py39 copy_python_gdb ensurepip
+  install_package "Python-3.9.20" 
"https://www.python.org/ftp/python/3.9.20/Python-3.9.20.tgz#1e71f006222666e0a39f5a47be8221415c22c4dd8f25334cc41aee260b3d379e";
 standard verify_py39 copy_python_gdb ensurepip
 fi
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pyenv-2.4.12/plugins/python-build/share/python-build/graalpy-24.1.0 
new/pyenv-2.4.13/plugins/python-build/share/python-build/graalpy-24.1.0
--- old/pyenv-2.4.12/plugins/python-build/share/python-build/graalpy-24.1.0     
1970-01-01 01:00:00.000000000 +0100
+++ new/pyenv-2.4.13/plugins/python-build/share/python-build/graalpy-24.1.0     
2024-09-18 06:38:48.000000000 +0200
@@ -0,0 +1,64 @@
+# Copyright (c) 2024, 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='24.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-${VERSION}" && echo
+
+
+graalpy_arch="$(graalpy_architecture 2>/dev/null || true)"
+
+case "$graalpy_arch" in
+"linux-amd64" )
+  checksum="95819091eee7c21566601c22536768204b7c75e9b59e522a10961612a1dd6298"
+  ;;
+"linux-aarch64" )
+  checksum="838662e07ce745708d58a50e5e030f9af608306c4595adb3a8e7ac1f6e7d8b6a"
+  ;;
+"macos-amd64" )
+  checksum="4bee92fdf97ef9e2f9a8dfc56030b9f40860019bf57c9cd097a4b86baaf31d94"
+  ;;
+"macos-aarch64" )
+  checksum="520888b407e47c8bbc91b0830d540a1eb1a6919ad0ce5be3e657e54f77ee0fba"
+  ;;
+* )
+  { 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.4.12/plugins/python-build/share/python-build/graalpy-community-24.1.0
 
new/pyenv-2.4.13/plugins/python-build/share/python-build/graalpy-community-24.1.0
--- 
old/pyenv-2.4.12/plugins/python-build/share/python-build/graalpy-community-24.1.0
   1970-01-01 01:00:00.000000000 +0100
+++ 
new/pyenv-2.4.13/plugins/python-build/share/python-build/graalpy-community-24.1.0
   2024-09-18 06:38:48.000000000 +0200
@@ -0,0 +1,54 @@
+# Copyright (c) 2024, 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='24.1.0'
+BUILD=''
+
+graalpy_arch="$(graalpy_architecture 2>/dev/null || true)"
+
+case "$graalpy_arch" in
+"linux-amd64" )
+  checksum="89c7f8bd8f91639adc815949458d56ea9bffaa286249360d244fc6a6885c220a"
+  ;;
+"linux-aarch64" )
+  checksum="8f52958486606328a9692a0c0553f2cd3afd1c86c9df97ae47a703afc2e804a8"
+  ;;
+"macos-amd64" )
+  checksum="1b01102ca9cbfe8164e935ca834226db76e8ca9359a5585ba686430593cbc02d"
+  ;;
+"macos-aarch64" )
+  checksum="cd0d6064bbb4f92d50d2b85ed46f6a9c22a5ae775f15cc264508da8f026eecaa"
+  ;;
+* )
+  { 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-community-${VERSION}${BUILD}" "${url}" "copy" 
ensurepip
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pyenv-2.4.12/test/version-name.bats 
new/pyenv-2.4.13/test/version-name.bats
--- old/pyenv-2.4.12/test/version-name.bats     2024-09-07 17:50:46.000000000 
+0200
+++ new/pyenv-2.4.13/test/version-name.bats     2024-09-18 06:38:48.000000000 
+0200
@@ -120,3 +120,10 @@
   assert_success
   assert_output "2.7.11"
 }
+
+@test "pyenv-latest fallback with prefix in name" {
+  create_version "3.12.6"
+  PYENV_VERSION="python-3.12" run pyenv-version-name
+  assert_success
+  assert_output "3.12.6"
+}

Reply via email to