You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
setup.py: ask() takes the default on EOF, so a non-interactive run installs VS Build Tools + CUDA via winget #393
ask() (setup.py:151) returns default on EOFError. The build-tools prompt (setup.py:1053) is
if ask(" Install them now?", ["y", "n"], "y", yes) != "y":
with default "y". So a run with stdin closed or redirected goes straight to winget install ... --disable-interactivity for Visual Studio 2022 Build Tools and CUDA 13.0, about 8-10 GB. Examples: a CI step, an agent driving the installer, or python setup.py < NUL. Nobody answered yes.
Suggestion:
On EOF, either fail or use the safe default for prompts that install system software.
Or make the default for this prompt "n" whenever stdin is not a TTY.
--yes already covers the case where someone really wants unattended installs.
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; --yes still accepts the recommended answers. This issue closes with the release.
Activity
Niko1221 commentedon 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.Engine 0.1.33: a portable image encoder again (#411 #412), setup reco…
Niko1221 commentedon Oct 1, 2026
Fixed in 0.1.33 with #398. Thanks!
Engine 0.1.33: a portable image encoder again (#411 #412), setup reco…
Engine 0.1.33: a portable image encoder again (Niko1221#411 Niko1221#412
Engine 0.1.33: a portable image encoder again (Niko1221#411 Niko1221#412