diff options
| author | Mohamed Hegazy <mhegazy@anthropic.com> | 2026-10-14 16:56:05 +0000 |
|---|---|---|
| committer | Claude <noreply@anthropic.com> | 2026-10-19 16:29:25 +0000 |
| commit | 6d446623cb5fe608905d07ab4c3a2002a268ee65 (patch) | |
| tree | 6c809ba3d3353cb6f56d94e57072bda5c296d303 /plugins/code-modernization/scripts/baseline_diff.py | |
| parent | ea10b213686c90bb1984b2016937310e05336cf3 (diff) | |
security-guidance: find Python releases newer than the launcher's listmhegazy/sg-launcher-newer-python
sg-python.sh prefers the versioned names python3.13 to python3.10, then
python3 / python / py -3 when they are 3.10 or newer. A machine whose
`python3` is older (stock macOS: 3.9) and whose only newer interpreter is
python3.14 ended up on 3.9, which cannot load the agent SDK, so the commit
reviewer was off with no sign that an installed Python had been missed
(#4907, #5024).
- When none of the existing candidates is 3.10 or newer, try python3.14 to
python3.19, oldest first, before settling for an older Python.
- An interpreter that is picked today is still picked: the newer names are
only reached where the launcher used to fall back to a Python below 3.10
or find none. Names not on PATH cost no process.
Diffstat (limited to 'plugins/code-modernization/scripts/baseline_diff.py')
0 files changed, 0 insertions, 0 deletions
