Skip to content

fix: display quiet Meson configuration errors - #325

Open
mikamikasuki wants to merge 1 commit into
scientific-python:mainfrom
mikamikasuki:fix-quiet-meson-configuration-errors
Open

mikamikasuki wants to merge 1 commit into
scientific-python:mainfrom
mikamikasuki:fix-quiet-meson-configuration-errors

Conversation

@mikamikasuki

Copy link
Copy Markdown

When spin run triggers a fresh Meson configuration, its quiet build captures setup output and raises RuntimeError without showing the underlying diagnostic. Print that captured output before raising when quiet setup fails. Successful quiet builds remain silent, and normal builds display errors once.

Fixes #324.

Validation: seven focused tests pass on Python 3.12 and 3.14, and an actual Meson configuration failure displays its diagnostic on stderr without running the requested command. All configured pre-commit checks pass. The broader local run encountered transient disk errors and a stalled LLDB test; the disk-affected test passed on retry.

AI assistance was used to prepare and validate this change.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

spin run does not show configuration errors from meson setup

1 participant