stale-twilight-79248
12/03/2025, 9:33 PM$ pants generate-lockfiles
16:20:51.53 [INFO] Initializing scheduler...
16:20:53.64 [INFO] Scheduler initialized.
...
16:29:37.97 [ERROR] 1 Exception encountered:
Engine traceback:
in `generate-lockfiles` goal
IntrinsicError: Error downloading file: error sending request for url (<https://github.com/astral-sh/python-build-standalone/releases/download/20250610/cpython-3.10.18%2B20250610-x86_64-unknown-linux-gnu-install_only_stripped.tar.gz>)
I'm on a network with no direct access to the internet, i have my http_proxy and https_proxy set correctly, everything else on my system is correctly able to reach the internet through the proxy
I have the following in my pants.toml as per the documentation:
[subprocess-environment]
# pull in proxy settings from environment and pass them through to all subprocesses
env_vars = [
"http_proxy",
"https_proxy",
"no_proxy",
"HTTP_PROXY",
"HTTPS_PROXY",
"NO_PROXY",
]
but still every pants operation requiring the internet fails...wide-midnight-78598
12/03/2025, 9:42 PMwide-midnight-78598
12/03/2025, 9:43 PMwide-midnight-78598
12/03/2025, 9:44 PMstale-twilight-79248
12/03/2025, 9:56 PMenv -i bash --noprofile --norc) and recreated just the http_proxy, https_proxy, HTTP_PROXY, HTTPS_PROXY and PATH variables, and I still get the same issuewide-midnight-78598
12/03/2025, 9:57 PMCopy codeIntrinsicError: Error downloading file: error sending request for url (<https://github.com/astral-sh/python-build-standalone/releases/download/20250610/cpython-3.10.18%2B20250610-x86_64-unknown-linux-gnu-install_only_stripped.tar.gz>)
What is downloading python 3-10?
stale-twilight-79248
12/03/2025, 9:57 PMwide-midnight-78598
12/03/2025, 9:58 PMwide-midnight-78598
12/03/2025, 9:59 PMstale-twilight-79248
12/03/2025, 10:11 PMwide-midnight-78598
12/03/2025, 10:19 PMbrief-scientist-13682
12/03/2025, 10:37 PMbrief-scientist-13682
12/03/2025, 10:39 PMbrief-scientist-13682
12/03/2025, 10:40 PMbrief-scientist-13682
12/03/2025, 10:45 PMbrief-scientist-13682
12/03/2025, 10:53 PMbrief-scientist-13682
12/03/2025, 11:16 PMpants.backend.python.providers.experimental.python_build_standalone ?" is yes, then you could try running with --no-pantsd to see if the proxy problem goes away and report back. That would at least confirm that Pants has a general issue doing downloads via the download intrinsic in proxy environments. If that fixes things, then I think you or a Pants maintainer has more than enough clues to fix this.stale-twilight-79248
12/04/2025, 4:32 PMstale-twilight-79248
12/04/2025, 4:32 PMpants --no-pantsd generate-lockfiles and it worked!stale-twilight-79248
12/04/2025, 4:32 PMbrief-scientist-13682
12/04/2025, 4:34 PMstale-twilight-79248
12/04/2025, 4:35 PMbrief-scientist-13682
12/04/2025, 4:36 PMstale-twilight-79248
12/04/2025, 4:38 PMstale-twilight-79248
12/04/2025, 4:56 PMbrief-scientist-13682
12/04/2025, 5:19 PMbrief-scientist-13682
12/04/2025, 6:30 PMbrief-scientist-13682
12/04/2025, 8:12 PMwide-midnight-78598
12/06/2025, 12:38 PMstale-twilight-79248
12/16/2025, 4:31 PMwide-midnight-78598
12/17/2025, 1:28 PM