Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package pyenv for openSUSE:Factory checked in at 2026-08-26 19:55:13 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pyenv (Old) and /work/SRC/openSUSE:Factory/.pyenv.new.1258 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "pyenv" Wed Aug 26 19:55:13 2026 rev:65 rq:1373743 version:2.8.4 Changes: -------- --- /work/SRC/openSUSE:Factory/pyenv/pyenv.changes 2026-06-29 17:35:20.124259889 +0200 +++ /work/SRC/openSUSE:Factory/.pyenv.new.1258/pyenv.changes 2026-08-26 19:55:13.478922871 +0200 @@ -1,0 +2,45 @@ +Mon Aug 24 11:42:23 UTC 2026 - Daniel Garcia <[email protected]> + +- update to 2.8.4(CVE-2026-68939, bsc#1275661): + * CI: Add macos_26_intel + * pyenv-binary: check FreeBSD system libraries + * version-file: Fix infinite loop for a relative path argument + * pyenv-binary: check patchelf early and add --verbose + * CI: add ubuntu ARM images + * Add CPython 3.10.21, 3.11.16, 3.12.14 + * Add anaconda3-2026.07-1, miniconda3 26.5.3-2 + +- Release v2.8.3 + * Add CPython 3.13.15, 3.14.7 + +- Release v2.8.2 + * pyenv-binary: add the `package` subcommand; add `pyenv install --list --bare` + * Add graalpy3.12-25.2.4 + * Bump actions/setup-python from 6 to 7 in the github-actions group + * add_cpython: refactor extra Requests logic + * Add CPython 3.15.0rc1 + * pyenv-binary: generate platform-specific package names + +- Release v2.8.1 + * pyenv-binary: add the `generate-installer` subcommand + * Add CPython 3.15.0b4 + +- Release v2.8.0 + * CVE-2026-68939: Fix handling of glob characters in .python-version + * CI: add_version enhancements + * Add miniforge3-26.3.2-2, 26.3.2-3 + * rehash: fix race condition in landlock writability check + * Add script to generate sponsors section for release notes + * install: Add an ability to install a version under an alias + * Add graalpy-3.12-25.1.3 + * Bump actions/checkout from 6 to 7 in the github-actions group + * Add an experimental pyenv-binary plugin with a save command + * CI: dependabot: set cooldown + * Fix typos in docs, scripts, and tests + * Add miniconda3 26.5.3-1 + * version-name: skip redundant checks + +- Add patch 0001-tests-Fix-cd-null-directory-in-OpenSUSE-3524.patch + (gh#pyenv/pyenv#3524) + +------------------------------------------------------------------- Old: ---- pyenv-2.7.3.tar.gz New: ---- 0001-tests-Fix-cd-null-directory-in-OpenSUSE-3524.patch pyenv-2.8.4.tar.gz ----------(New B)---------- New: - Add patch 0001-tests-Fix-cd-null-directory-in-OpenSUSE-3524.patch (gh#pyenv/pyenv#3524) ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pyenv.spec ++++++ --- /var/tmp/diff_new_pack.DGLqf6/_old 2026-08-26 19:55:14.361954056 +0200 +++ /var/tmp/diff_new_pack.DGLqf6/_new 2026-08-26 19:55:14.363954127 +0200 @@ -19,13 +19,15 @@ %define pyenv_dir %{_libexecdir}/pyenv # Name: pyenv -Version: 2.7.3 +Version: 2.8.4 Release: 0 Summary: Python Version Management License: MIT Group: Development/Languages/Python URL: https://github.com/pyenv/pyenv Source: https://github.com/pyenv/pyenv/archive/refs/tags/v%{version}.tar.gz#/pyenv-%{version}.tar.gz +# PATCH-FIX-UPSTREAM 0001-tests-Fix-cd-null-directory-in-OpenSUSE-3524.patch gh#pyenv/pyenv#3524 +Patch0: 0001-tests-Fix-cd-null-directory-in-OpenSUSE-3524.patch # BuildRequires: bash-completion BuildRequires: bats ++++++ 0001-tests-Fix-cd-null-directory-in-OpenSUSE-3524.patch ++++++ >From b0cff001ffa831e19da613b8e7fea4f48968d078 Mon Sep 17 00:00:00 2001 From: native-api <[email protected]> Date: Tue, 25 Aug 2026 22:43:59 +0300 Subject: [PATCH] tests: Fix "cd: null directory" in OpenSUSE (#3524) A workaround because tests don't use the Pyenv launcher and setting PYENV_DIR to $PWD at every run invocation is too cumbersome. --- libexec/pyenv-version-file | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libexec/pyenv-version-file b/libexec/pyenv-version-file index 2e8a23ba..33548571 100755 --- a/libexec/pyenv-version-file +++ b/libexec/pyenv-version-file @@ -38,7 +38,9 @@ find_local_version_file() { if [ -n "$target_dir" ]; then find_local_version_file "$target_dir" else - find_local_version_file "$PYENV_DIR" || { + # In tests, PYENV_DIR is not set, ultimately leading to "cd: null directory" in OpenSUSE + # While most `cd` implemntations treat an empty argument the same as missing, that's still wrong + find_local_version_file "${PYENV_DIR:=$PWD}" || { [ "$PYENV_DIR" != "$PWD" ] && find_local_version_file "$PWD" } || echo "${PYENV_ROOT}/version" fi -- 2.55.0 ++++++ pyenv-2.7.3.tar.gz -> pyenv-2.8.4.tar.gz ++++++ ++++ 14100 lines of diff (skipped)
