some-egg-76415
07/05/2026, 2:16 PM<http://github.com|github.com> to this one repository — any other GitHub URL returns 403. That's fatal for Pants specifically because of how it's distributed: since 2.18, Pants isn't published to PyPI at all (wheels stopped at 2.17.1); the official installer (get-pants.sh) downloads the scie-pants launcher from GitHub release assets, which then downloads the Pants distribution itself from GitHub release assets. Both hops 403 in the sandbox, so pants can't even be installed, and there's no package-manager fallback. Installing Pants is only half the problem. At runtime Pants downloads three more binaries from GitHub releases — pex (required by every Python goal), ruff, and buildifier — so even a hand-delivered pants binary would fail on the first fmt/lint/test/check.
Wondering if anyone has thought about this specific case. The only alternatives I've found are to mirror.brief-scientist-13682
07/05/2026, 3:14 PMworried-painter-31382
07/05/2026, 3:22 PMrelease-assets.githubusercontent.com which is where github stuff is hosted. I dont have the subscription to actually verify this works but unless im missing something anthropic intends this to "just work".dazzling-pizza-75442
07/05/2026, 5:12 PMscie-pants fetches the Pants PEX with its bundled CPython 3.14,
whose default ssl context enables VERIFY_X509_STRICT; strict verification
rejects the proxy CA (it lacks a Key Usage extension)The proxy in this case is the proxy that claude code runs to MITM traffic. It can be disabled for certain urls by . setting NO_PROXY/no_proxy. here's what I set it to for the initial download:
<http://github.com|github.com>,<http://githubusercontent.com|githubusercontent.com>,<http://codeload.github.com|codeload.github.com>
Currently, I'm using a claude session hook that sets no_proxy/NO_PROXY only for the initial call to pants that triggers the download.
Once I do that, I haven't had any issues with using pants via claude code in the web to build pex's, run fmt/lint/test/check etc so not sure what to tell you there.fast-nail-55400
07/05/2026, 9:12 PMsome-egg-76415
07/06/2026, 4:36 AMsome-egg-76415
07/06/2026, 4:57 AMpypi and other package repositories can be accessed.
@worried-painter-31382 I used PANTS_BOOTSTRAP_URLS to point at a mirror of the pants assets I set up in a location where the sandbox did have permission to download (what I meant in my original message); however, this is a nuisance and something I doubt every user is willing to do. To my knowledge, there isn't another officially maintained source for these assets.