[BUG] Remote execution sandbox blocks git clone to github.com, breaking pip install of git+https:// dependencies
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
Environment
Claude Code on the web (remote execution sandbox / managed container)
Linux 6.18.5, Python 3.11
HTTPS_PROXY is set; CA bundle at /root/.ccr/ca-bundle.crt
GitHub MCP tools (mcp__github__*) work fine
Summary
Outbound git clone over HTTPS to github.com fails inside the remote sandbox, which breaks pip install for any project that pins a dependency as git+https://github.com/... in pyproject.toml. The HTTPS proxy that the rest of the agent's tooling uses is not picked up by git, so the install fails before the agent can run the project's test suite.
Reproduction
Actual behavior
× git clone --filter=blob:none --quiet https://github.com/vroonhof/ibflex.git /tmp/pip-install-XXXX/ibflex2_... did not run successfully.
│ exit code: 128
╰─> See above for output.
A direct git clone https://github.com/<owner>/<repo>.git from the shell fails the same way (exit 128).
Projects with git-pinned dependencies (common for forks, unreleased patches, or in-house packages) cannot be fully installed in the sandbox. The agent is then forced to either:
Skip running tests entirely, or
Substitute the public PyPI version of the package — which may be a different project with similar name, leading to spurious test failures that look like real regressions.
What Should Happen?
special handling of git installation of python dependencies (or similar for other package managers), there is nothing that different using pypi or another repository,,
Error Messages/Logs
during package install
× git clone --filter=blob:none --quiet https://github.com/vroonhof/ibflex.git /tmp/pip-install-XXXX/ibflex2_... did not run successfully.
│ exit code: 128
╰─> See above for output.
Steps to Reproduce
In a fresh remote session, on a repo whose pyproject.toml contains a git-based dependency, e.g.:
dependencies = [
"ibflex2 @ git+https://github.com/vroonhof/ibflex.git",
"pdf417gen @ git+https://github.com/vroonhof/pdf417-py.git",
...
]
Run:
pip install -e ".[dev]"
Claude Model
Opus
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
claude code web (does not seem advertise version)
Platform
Other
Operating System
Other
Terminal/Shell
Non-interactive/CI environment
Additional Information
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗