Skip to content

fix(sdk): openrunner update works on PEP 668 hosts (2.38.3)#626

Merged
jqueguiner merged 1 commit into
mainfrom
fix/update-pep668
Jul 23, 2026
Merged

fix(sdk): openrunner update works on PEP 668 hosts (2.38.3)#626
jqueguiner merged 1 commit into
mainfrom
fix/update-pep668

Conversation

@jqueguiner

Copy link
Copy Markdown
Owner

openrunner update self-upgrades via pip install --upgrade --no-cache-dir openrunner-sdk — which Debian/Ubuntu system Python rejects with externally-managed-environment (PEP 668). So self-update was broken on managed hosts (this session had to hand-run pip --user --break-system-packages).

Fix: on a non-zero first attempt, retry the upgrade with --break-system-packages (+ --user outside a venv — pip forbids --user inside one). Streaming/UX unchanged; venv installs are unaffected (first attempt succeeds).

Bumps SDK 2.38.2 → 2.38.3.

🤖 Generated with Claude Code

… (2.38.3)

`openrunner update` ran a plain `pip install --upgrade`, which Debian/Ubuntu
system Python rejects with `externally-managed-environment` — so self-update was
broken on managed hosts (had to hand-run pip with --break-system-packages). Now
the upgrade retries with `--break-system-packages` (+ `--user` outside a venv,
which pip forbids inside one) when the plain attempt fails. Bumps 2.38.3.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@jqueguiner
jqueguiner merged commit c778ed9 into main Jul 23, 2026
9 checks passed
@jqueguiner
jqueguiner deleted the fix/update-pep668 branch July 23, 2026 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant