Repository navigation
Conversation
dimpase
force-pushed
the
fix/sagemath-gap-probe-wrapping
branch
from
November 9, 2026 09:23
847adcb to
187f3fd
Compare
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.
Importing Sage during the documentation build in #67 fails when Homebrew's temporary home directory makes a GAP root path long enough to wrap. GAP inserts a backslash and newline into
kernel-info.goutput; Sage'skernel_info()expects exactly three lines and raisesValueError: too many values to unpack.Disable stdout formatting in the small GAP probe before it prints its machine-readable fields. This affects only the probe subprocess, which immediately exits. Bump
sagemathto revision 1 and rebuild its bottles. This PR changes only that formula.Add a formula regression test that runs the installed probe with a long root path, requires exactly three output lines and checks the complete path survived. It runs with both macOS Python versions and Linux Python 3.14 alongside the existing runtime tests.
Validation: reproduced locally with the exact beta6 probe and GAP 4.16.1; the original emits six lines and the corrected probe emits three. Ruby syntax, Homebrew style and whitespace checks pass. Full normal three-platform CI and fresh bottle audits are required before publication. The documentation build will be rerun against the resulting runtime bottles.