run_guest_scene: take the Wine from the environment #2210

Open
github-bot wants to merge 1 commit from github-bot/gh-2210 into main AGit
Owner

@⁠whoalin1 on GitHub · 2026-11-26 06:17 UTC · original
whoalin1:guest-scene-wine-env → main · +82 −4 · 2 files · 1 commits · open

Summary

  • default --wine to $WINE, with an empty value treated as unset
  • keep an explicit --wine ahead of the environment
  • let --wine-arg work when Wine comes from the environment, and include the missing value in the not-found error
  • add synthetic POSIX argument-parse regressions

Item: RUN-GUEST-SCENE-WINE-ENV

This carries forward the still-uncarried fix in old-pr/10047, originally written by SkippySteve, reapplied and verified on current main.

Tests

Under the local machine coordination lock, in WSL Ubuntu with Python 3.14.4:

  • control: the new tests fail on the unpatched script (3 failures, 2 errors; $WINE is ignored)
  • fixed: python3 -I tests/test_run_guest_scene_wine.py — 5 tests, OK
  • python -m compileall -q scripts/run_guest_scene.py tests/test_run_guest_scene_wine.py — pass
  • git diff --cached --check — pass

No game files or GPU.

AI-assisted with Devin.

**@⁠whoalin1** on GitHub · 2026-11-26 06:17 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/2210) `whoalin1:guest-scene-wine-env` → `main` · +82 −4 · 2 files · 1 commits · open ## Summary - default `--wine` to `$WINE`, with an empty value treated as unset - keep an explicit `--wine` ahead of the environment - let `--wine-arg` work when Wine comes from the environment, and include the missing value in the not-found error - add synthetic POSIX argument-parse regressions Item: RUN-GUEST-SCENE-WINE-ENV This carries forward the still-uncarried fix in old-pr/10047, originally written by SkippySteve, reapplied and verified on current main. ## Tests Under the local machine coordination lock, in WSL Ubuntu with Python 3.14.4: - control: the new tests fail on the unpatched script (3 failures, 2 errors; `$WINE` is ignored) - fixed: `python3 -I tests/test_run_guest_scene_wine.py` — 5 tests, OK - `python -m compileall -q scripts/run_guest_scene.py tests/test_run_guest_scene_wine.py` — pass - `git diff --cached --check` — pass No game files or GPU. AI-assisted with Devin.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 10:22:23 +00:00
Author
Owner

@⁠real-rusher on GitHub · 2026-11-26 10:12 UTC · original

Verified on main a73a57e1 (Ubuntu 24.04 x86-64, Python 3.13, no GPU, no Wine). Merges cleanly. With this PR, python -I tests/test_run_guest_scene_wine.py: 5 tests OK. The PR's test file against main's scripts/run_guest_scene.py: 3 failures and 2 errors, so the new tests fail on main and pass with the fix. compileall clean.

AI-assisted: yes (Claude Code)

**@⁠real-rusher** on GitHub · 2026-11-26 10:12 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/2210#issuecomment-7189049401) Verified on main a73a57e1 (Ubuntu 24.04 x86-64, Python 3.13, no GPU, no Wine). Merges cleanly. With this PR, python -I tests/test_run_guest_scene_wine.py: 5 tests OK. The PR's test file against main's scripts/run_guest_scene.py: 3 failures and 2 errors, so the new tests fail on main and pass with the fix. compileall clean. AI-assisted: yes (Claude Code)
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/2210/head:github-bot/gh-2210'
git switch 'github-bot/gh-2210'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-2210'
git switch 'github-bot/gh-2210'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-2210'
git switch 'github-bot/gh-2210'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-2210'
git switch 'main'
git merge --squash 'github-bot/gh-2210'
git switch 'main'
git merge --ff-only 'github-bot/gh-2210'
git switch 'main'
git merge 'github-bot/gh-2210'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.