mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #393] setup.py: ask() takes the default on EOF, so a non-interactive run installs VS Build Tools + CUDA via winget #182
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#182
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Efs-O on GitHub (Oct 1, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/393
ask()(setup.py:151) returnsdefaultonEOFError. The build-tools prompt (setup.py:1053) iswith default
"y". So a run with stdin closed or redirected goes straight towinget install ... --disable-interactivityfor Visual Studio 2022 Build Tools and CUDA 13.0, about 8-10 GB. Examples: a CI step, an agent driving the installer, orpython setup.py < NUL. Nobody answered yes.Suggestion:
"n"whenever stdin is not a TTY.--yesalready covers the case where someone really wants unattended installs.@Niko1221 commented on GitHub (Oct 1, 2026):
Thanks! Fixed for the next release with PR #398 (Bortlesboat): when input ends before an answer, setup stops with a clear message instead of taking the default;
--yesstill accepts the recommended answers. This issue closes with the release.@Niko1221 commented on GitHub (Oct 1, 2026):
Fixed in 0.1.33 with #398. Thanks!