Repository navigation
python_build: Make verify_python verify `pythonX.Y' suffix - #3459
Merged
Merged
Conversation
This reverts commit f0e630a. [no ci]
social4hyq
pushed a commit
to social4hyq/homebrew-core
that referenced
this pull request
Sep 20, 2026
pyenv 2.6.32 Created-by: HarmonybrewBot Commit-by: HarmonybrewBot Merged-by: HarmonybrewBot Description: Created by `brew bump` --- Created with `brew bump-formula-pr`.<details> <summary>release notes</summary> <pre>## What's Changed * Add miniconda3 26.3.2-2, miniforge3 26.3.2-0, 26.3.2-1 by @native-api in pyenv/pyenv#3445 * miniforge3 26.1, 26.3, add_miniforge: exclude bogus branches with .pkg installers by @native-api in pyenv/pyenv#3446 * miniforge 26, CI: switch check to 3.13 by @native-api in pyenv/pyenv#3447 * 2.7, 3.4: force C99 standard; 2.7.14-18: force OpenSSL 1 formula by @native-api in pyenv/pyenv#3448 * rehash: detect and remove a stale lockfile by @native-api in pyenv/pyenv#3450 * Add GraalPy 25.0.3 by @msimacek in pyenv/pyenv#3452 * 3.11.0+: Use the `--with-openssl-rpath' Configure option when possible by @native-api in pyenv/pyenv#3458 * python_build: Make `verify_python` verify `pythonX.Y' suffix by @native-api in pyenv/pyenv#3459 * Add micropython 1.22.0 to 1.28.0; add downstream patches to fix compilation errors by @native-api in pyenv/pyenv#3460 * Fix linking against a keg_only Homebrew OpenSSL when a a non-keg_only one is also installed by @native-api in pyenv/pyenv#3462 * Add missing CPython 3.14.2t by @native-api in pyenv/pyenv#3464 * 3.14.0-5: Support building against OpenSSL 4 by @native-api in pyenv/pyenv#3463 **Full Changelog**: https://github.com/pyenv/pyenv/compare/v2.6.31...v2.6.32</pre> <p>View the full release notes at <a href="https://github.com/pyenv/pyenv/releases/tag/v2.6.32">https://github.com/pyenv/pyenv/releases/tag/v2.6.32</a>.</p> </details> <hr> See merge request: Harmonybrew/homebrew-core!9870
dmrlawson
added a commit
to dmrlawson/pyenv
that referenced
this pull request
Sep 22, 2026
Since pyenv#3459 `verify_python` requires `bin/pythonX.Y`, which Pyston tarballs don't ship (only the interpreter plus `pyston` and `pyston3` symlinks), so every `pyston-*` definition fails post-build verification: Installing pyston_2.3.5_portable_amd64... ERROR: invalid Python executable: /pyenv/versions/pyston-2.3.5/bin/python3.8 The python-build could not find proper executable of Python after successful build. Please open an issue for future improvements. https://github.com/pyenv/pyenv/issues BUILD FAILED (Ubuntu 20.04 using python-build 2.8.6) Create `python`, `python3` and `python3.8` in both Pyston build functions. Co-Authored-By: Claude Fable 5.1 <[email protected]>
dmrlawson
added a commit
to dmrlawson/pyenv
that referenced
this pull request
Sep 22, 2026
Since pyenv#3459 `verify_python` requires `bin/pythonX.Y`, which Pyston tarballs don't ship (only the interpreter plus `pyston` and `pyston3` symlinks), so every `pyston-*` definition fails post-build verification: Installing pyston_2.3.5_portable_amd64... ERROR: invalid Python executable: /pyenv/versions/pyston-2.3.5/bin/python3.8 The python-build could not find proper executable of Python after successful build. Please open an issue for future improvements. https://github.com/pyenv/pyenv/issues BUILD FAILED (Ubuntu 20.04 using python-build 2.8.6) Create `python`, `pythonX` and `pythonX.Y` in both Pyston build functions, asking `pyston` itself for X.Y. Co-Authored-By: Claude Fable 5.1 <[email protected]>
dmrlawson
added a commit
to dmrlawson/pyenv
that referenced
this pull request
Sep 22, 2026
Since pyenv#3459 `verify_python` requires `bin/pythonX.Y`, which Pyston tarballs don't ship (only the interpreter plus `pyston` and `pyston3` symlinks), so every `pyston-*` definition fails post-build verification: Installing pyston_2.3.5_portable_amd64... ERROR: invalid Python executable: /pyenv/versions/pyston-2.3.5/bin/python3.8 The python-build could not find proper executable of Python after successful build. Please open an issue for future improvements. https://github.com/pyenv/pyenv/issues BUILD FAILED (Ubuntu 20.04 using python-build 2.8.6) Create `python`, `pythonX` and `pythonX.Y` in both Pyston build functions, asking `pyston` itself for X.Y. Co-Authored-By: Claude Fable 5.1 <[email protected]>
dmrlawson
added a commit
to dmrlawson/pyenv
that referenced
this pull request
Sep 23, 2026
Since pyenv#3459 `verify_python` requires `bin/pythonX.Y`, which Pyston tarballs don't ship (only the interpreter plus `pyston` and `pyston3` symlinks), so every `pyston-*` definition fails post-build verification: Installing pyston_2.3.5_portable_amd64... ERROR: invalid Python executable: /pyenv/versions/pyston-2.3.5/bin/python3.8 The python-build could not find proper executable of Python after successful build. Please open an issue for future improvements. https://github.com/pyenv/pyenv/issues BUILD FAILED (Ubuntu 20.04 using python-build 2.8.6) Create `python`, `pythonX` and `pythonX.Y` in both Pyston build functions, asking `pyston` itself for X.Y. Co-Authored-By: Claude Fable 5.1 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Make sure you have checked all steps below.
Prerequisite
Description
Ensures that the distribution provides the expected version of Python. Mostly useful for 3rd-party distributions.
Tests
N/A
Summary by cubic
Update
verify_pythonto check the version-suffixed executable (pythonX.Y) using a provided version (e.g.,3.11). This makespython-buildvalidate the exact interpreter and avoids shim/symlink mismatches in third‑party distributions.verify_pythonnow takes a version (e.g.,3.11) and checks${PYTHON_BIN%/*}/pythonX.Yinstead of the genericpython.3.4); reverted a temporary test-only change.Written for commit 21883b9. Summary will update on new commits.