fix(pwsh/gui): empty init iex + Host Environment Ready on Windows; stack refresh - #9
Merged
Merged
Conversation
PowerShell's pyenv wrapper used console passthrough for init, so a second `iex ((pyenv init - pwsh)...)` (duplicate profile lines or re-init) captured nothing and failed on PS 7.6. Pipeline-capture init/virtualenv-init, guard empty iex in profile snippets, skip duplicate installer blocks, bump 0.2.36. Co-authored-by: I'm Your Boy Roy <ImYourBoyRoy@users.noreply.github.com>
Windows Host Environment was "Needs attention" whenever doctor warned about process PATH/shims/selection—common for desktop GUI launches even when install readiness is fine. Verdict now uses install-relevant checks only, and the panel surfaces install warnings. Also bump to v0.2.37: rmcp 3.1.2, clap 4.6.6, thiserror/toml minors, setup-python@v7 + Python 3.13, setup-node@v7 (Node 24) for a11y, rust-cache, axe-core/jsdom latest. Tauri already at 2.11.5 / Rust stable 1.97.1. Co-authored-by: I'm Your Boy Roy <ImYourBoyRoy@users.noreply.github.com>
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.
Summary
Fixes two related Windows UX bugs and refreshes the dependency/CI stack to current stables.
1. PowerShell profile: empty
Invoke-ExpressionAfter the
pyenvfunction shadowedpyenv.exe,(pyenv init - pwsh)used console passthrough +Out-Null, so a second profile init (or re-source) captured nothing and PS 7.6 failed with Cannot bind argument to parameter 'Command' because it is an empty string.init/virtualenv-initin the pwsh wrapper2. Host Environment “Needs attention” on Windows
Unrelated to the pwsh bug: Host Environment used any doctor
Warnfor its verdict. Desktop GUI launches often lack User PATH, sopyenv-bin-on-path/shims-on-path/ shim selection warns marked a healthy NuGet host as Needs attention.root-directory/ pyenv-win conflicts)3. Latest stack / CI plugins (v0.2.37)
setup-python@v7(3.13),setup-node@v7(24),Swatinem/rust-cache@v2Validation
cargo test -p pyenv-core --lib(161 ok)cargo test -p pyenv-mcp/pyenv-clicargo clippy -p pyenv-core -p pyenv-cli -p pyenv-mcp -- -D warningscheck-version-sync,check-gui-patterns, gui-a11yAfter merge
Rebuild/reinstall on the Windows machine so the new pwsh init function and Host Environment logic ship; optional: replace any bare
iex ((pyenv init - pwsh)…)profile lines with the guarded snippet frompyenv init pwsh.