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
fix(explainer-video): Windows interpreter discovery misses the py launcher, so the suggested python.org install does not resolve #6186
good first issueGood entry point for new contributors.needs-humanHuman-in-the-loop required; autonomous sessions must not resolve items carrying this.status: readyTriaged, unblocked, and fully specified; eligible to pick up.
On Windows, the fix that explainer-video's SessionStart message gives does not work when another Python comes first on PATH.
scripts/pydeps.py:31 sets CANDIDATES = ('python3.13', 'python3.12', 'python3', 'python'), and interpreter() (:199-210) looks up only those names with shutil.which. The python.org Windows installer does not create python3.13.exe or python3.12.exe. It installs python.exe and registers the version with the py launcher. On a host where uv's 3.14 owns python3/python on PATH (~/.local/bin), installing 3.13 from python.org, as the message at :229-232 says to, leaves interpreter() returning None. The hook then fails again on the next session.
Observed
melo-desk-001, explainer-video 0.2.3, 2026-10-04. uv python list --only-installed shows only cpython 3.14.7, which is exposed as ~/.local/bin/python.exe, python3.exe and python3.14.exe. SessionStart reports:
explainer-video: Python 3.12 or 3.13 is required and none is on PATH (this is 3.14, C:\Users\...\uv\python\cpython-3.14-windows-x86_64-none\python.exe). Install one from https://www.python.org/downloads/ and start a new session.
On this machine the message is accurate (no 3.12 or 3.13 is installed). The bug is that its remediation does not lead to a working state.
Proposed fix
Pick one, whichever has fewer moving parts:
On Windows, also try py -3.13 and py -3.12 (resolve with py -3.13 -c "import sys; print(sys.executable)") before falling back to the bare names.
Or change the message to name a remediation that does put a versioned name on PATH, for example uv python install 3.13. uv puts python3.13.exe in ~/.local/bin, which CANDIDATES already finds.
Acceptance
On a Windows host whose PATH python is 3.14 and where 3.13 is installed from python.org, pydeps.py check resolves the 3.13 interpreter, or the message names a remediation that interpreter() will find.
Related: #6017 (the prerequisites checker has no max version, so it reports this host's Python as ready).
Thanks for the detailed report. The core claim checks out: interpreter() in pydeps.py only probes the bare names in CANDIDATES via shutil.which, and the python.org Windows installer doesn't put a versioned python3.13.exe on PATH, so the SessionStart message's own remediation can't be found afterward. Both proposed fixes (probing py -3.13/py -3.12, or pointing the message at uv python install 3.13, which does land a versioned name CANDIDATES already matches) look reasonable and the change is scoped to this one function and message. Linked #6017 looks related but distinct (missing max-version bound in the prerequisites checker) rather than a duplicate. No missing information here; this looks actionable as written.
This was generated by AI during triage.
Decision defaulted: option 2, change the remediation to name an install that puts a versioned python3.13 on PATH (for example uv python install 3.13) — veto before merge
Basis: verified, plugins/explainer-video/scripts/pydeps.py:31 (CANDIDATES looks up only python3.13, python3.12, python3, python) and :199-210 (interpreter() resolves those names with shutil.which only); the same name list and python.org advice sit in plugins/explainer-video/hooks/install-python-deps.sh:25 and :33, and plugins/explainer-video/prerequisites.json:19-23 (docs link and winget Python.Python.3.13, both the python.org installer). uv placing a versioned executable on PATH is grounded in the reporter's observed ~/.local/bin listing (python3.14.exe present), not in fetched uv docs.
Why option 2: the reporter's own criterion is fewer moving parts. Option 2 changes remediation text; option 1 adds a py launcher probe in two languages (the Python resolver and the bash SessionStart hook, which have to agree on the interpreter). Veto path: option 1, implemented in both the resolver and the hook, with tests in both.
Bug verified against current main: the candidate lookup never consults the py launcher, and the python.org installer creates no versioned executable, so following the current advice on a host whose python is 3.14 leaves no interpreter found.
Scope note: the broken advice appears on three surfaces, not one: the resolver's unsupported-interpreter message, the SessionStart hook's not-found notice, and the prerequisites manifest's install hints. The brief covers all three.
Agent Brief
Type: Bug Summary: Every explainer-video remediation for a missing Python 3.12/3.13 names an install that the interpreter lookup will then find.
Current behavior:
The interpreter lookup (the resolver's interpreter() and the SessionStart hook's candidate loop) checks only the names python3.13, python3.12, python3, python on PATH.
When none is supported, the resolver's message and the hook's notice both tell the user to install from python.org, and the prerequisites manifest's install hints point at python.org and the winget python.org package.
On Windows, the python.org installer creates python.exe and registers with the py launcher; it creates no python3.13.exe. If another Python (for example uv's 3.14) owns python/python3 on PATH, following the advice leaves the lookup finding nothing, and the hook fails again next session.
Desired behavior:
The resolver's message and the hook's notice name a remediation that puts a versioned python3.13 (or python3.12) on PATH, such as uv python install 3.13, so the existing candidate lookup finds it.
The manifest's install hints do not lead a Windows user to an install the lookup cannot find (adjust the Windows hint, or label it clearly).
The candidate list and lookup logic are unchanged.
Acceptance criteria:
On a Windows host whose PATH python is 3.14, every user-facing remediation (resolver message, hook notice, manifest install hints) names an install that the candidate lookup then finds.
The resolver's test suite asserts the new remediation text.
The hook's test suite asserts the new not-found notice text.
explainer-video has a version bump and a CHANGELOG entry.
Out of scope:
Probing the py launcher (option 1; the veto path).
Ratify autonomous dispatch of this C3 bug-fix item (with its defaulted decision)?
Classification: work-class: scoped (C3), bug-fix-shaped (confirmed at triage). Intended dispatch: the work-loop worker lane, through /work-items:work, to a draft PR the lane never merges. First drain is not complete and no item-level ratification exists, so it is queued here. Ratify through /work-items:attend-queue.
good first issueGood entry point for new contributors.needs-humanHuman-in-the-loop required; autonomous sessions must not resolve items carrying this.status: readyTriaged, unblocked, and fully specified; eligible to pick up.
Activity
github-actions commentedon Oct 4, 2026
Thanks for the detailed report. The core claim checks out:
interpreter()inpydeps.pyonly probes the bare names inCANDIDATESviashutil.which, and the python.org Windows installer doesn't put a versionedpython3.13.exeon PATH, so the SessionStart message's own remediation can't be found afterward. Both proposed fixes (probingpy -3.13/py -3.12, or pointing the message atuv python install 3.13, which does land a versioned nameCANDIDATESalready matches) look reasonable and the change is scoped to this one function and message. Linked #6017 looks related but distinct (missing max-version bound in the prerequisites checker) rather than a duplicate. No missing information here; this looks actionable as written.Automated triage. A maintainer reviews it.
kyle-sexton commentedon Oct 4, 2026
This was generated by AI during triage.
Decision defaulted: option 2, change the remediation to name an install that puts a versioned
python3.13on PATH (for exampleuv python install 3.13) — veto before mergeBasis: verified,
plugins/explainer-video/scripts/pydeps.py:31(CANDIDATESlooks up onlypython3.13,python3.12,python3,python) and:199-210(interpreter()resolves those names withshutil.whichonly); the same name list and python.org advice sit inplugins/explainer-video/hooks/install-python-deps.sh:25and:33, andplugins/explainer-video/prerequisites.json:19-23(docs link andwinget Python.Python.3.13, both the python.org installer). uv placing a versioned executable on PATH is grounded in the reporter's observed~/.local/binlisting (python3.14.exepresent), not in fetched uv docs.Why option 2: the reporter's own criterion is fewer moving parts. Option 2 changes remediation text; option 1 adds a
pylauncher probe in two languages (the Python resolver and the bash SessionStart hook, which have to agree on the interpreter). Veto path: option 1, implemented in both the resolver and the hook, with tests in both.Bug verified against current main: the candidate lookup never consults the
pylauncher, and the python.org installer creates no versioned executable, so following the current advice on a host whosepythonis 3.14 leaves no interpreter found.Scope note: the broken advice appears on three surfaces, not one: the resolver's unsupported-interpreter message, the SessionStart hook's not-found notice, and the prerequisites manifest's install hints. The brief covers all three.
Agent Brief
Type: Bug
Summary: Every explainer-video remediation for a missing Python 3.12/3.13 names an install that the interpreter lookup will then find.
Current behavior:
interpreter()and the SessionStart hook's candidate loop) checks only the namespython3.13,python3.12,python3,pythonon PATH.python.exeand registers with thepylauncher; it creates nopython3.13.exe. If another Python (for example uv's 3.14) ownspython/python3on PATH, following the advice leaves the lookup finding nothing, and the hook fails again next session.Desired behavior:
python3.13(orpython3.12) on PATH, such asuv python install 3.13, so the existing candidate lookup finds it.Acceptance criteria:
pythonis 3.14, every user-facing remediation (resolver message, hook notice, manifest install hints) names an install that the candidate lookup then finds.Out of scope:
pylauncher (option 1; the veto path).kyle-sexton commentedon Oct 4, 2026
This was generated by AI during work-loop.
Ratify autonomous dispatch of this C3 bug-fix item (with its defaulted decision)?
Classification:
work-class: scoped(C3), bug-fix-shaped (confirmed at triage). Intended dispatch: the work-loop worker lane, through/work-items:work, to a draft PR the lane never merges. First drain is not complete and no item-level ratification exists, so it is queued here. Ratify through/work-items:attend-queue.Lane: work-loop, instance melo-worker-1, cycle 2.