breezy-electrician-41537
05/29/2025, 10:18 PMpants lint ::
, it tries to download the ruff tarball. However, I believe the url gives a redirect; e.g. I can wget it, but with curl, I need to use -L to follow redirects. When running pants lint ::
, it tried downloading the file but gets stuck and never finishes. I am in a corporate environment with a proxy, but I have http_proxy, https_proxy, etc. configured. I believe pants passes these value as well as ca cert dir and file to subprocesses. Is there a way I can tell pants to follow the redirect?breezy-electrician-41537
05/29/2025, 10:31 PM[subproces-environment]
env_vars.add = ["http_proxy", "https_proxy"]
no joy.happy-kitchen-89482
05/29/2025, 10:51 PMhappy-kitchen-89482
05/29/2025, 10:51 PMelegant-florist-94385
05/30/2025, 8:14 AMenv_vars.add = ["http_proxy", "https_proxy", "HTTP_PROXY", "HTTPS_PROXY"]
since I have come to understand that those proxy vars are not well standardized, and some tools use capitalized variants and some require lowercasebreezy-electrician-41537
05/30/2025, 8:29 AMbreezy-electrician-41537
06/04/2025, 1:38 PMwide-midnight-78598
06/04/2025, 2:20 PMwide-midnight-78598
06/04/2025, 2:22 PMbreezy-electrician-41537
06/04/2025, 2:42 PMbreezy-electrician-41537
06/04/2025, 2:46 PMbreezy-electrician-41537
06/04/2025, 2:48 PMwide-midnight-78598
06/04/2025, 3:13 PMa-scie/lift
a-scie/ptex
a-scie/science
projects
But yeah, I assumed that's where the grief was coming from. I don't know off the top of my head if there is built-in re-directs there, but I was also hoping we built fat scie-pants releases too (comes with python and maybe pants already). Looks like we don't.
See: https://github.com/pantsbuild/scie-pants/issues/154#issuecomment-1565630394breezy-electrician-41537
06/04/2025, 3:29 PMwide-midnight-78598
06/04/2025, 3:34 PMbreezy-electrician-41537
06/04/2025, 3:43 PM