Skip to content

fix: block benchmark agents from global pip - #17

Merged
wq19901103wq merged 1 commit into
mainfrom
codex/block-global-pip
Jul 18, 2026
Merged

fix: block benchmark agents from global pip#17
wq19901103wq merged 1 commit into
mainfrom
codex/block-global-pip

Conversation

@wq19901103wq

Copy link
Copy Markdown
Owner

Claude Code bypassed the task venv and installed the SWE-bench pytest checkout into the main Python environment, corrupting pytest and pluggy for the harness. This sets PIP_REQUIRE_VIRTUALENV and PYTHONNOUSERSITE for both Claude and local SWE-agent command environments so global pip calls are rejected.\n\nValidated with ruff, mypy, and 26 benchmark-related tests.

@wq19901103wq
wq19901103wq merged commit 80a879a into main Jul 18, 2026
@wq19901103wq
wq19901103wq deleted the codex/block-global-pip branch July 18, 2026 01:30
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