prehistoric-lamp-13481
03/10/2025, 2:12 PMIntrinsicError: Client error (403) downloading file pex from <https://github.com/pex-tool/pex/releases/download/v2.3.1/pex>
I have requested out IT department make an exception for the dependency to be allowed in the web filter. I have been waiting over a month after back-and-forth with justification, etc. and have little faith I will ever get access. Is there a way to define the dependency to point to an external instance of pex or some other loophole that removes downloading the pex package from github? 🤞dazzling-pizza-75442
03/10/2025, 2:56 PMknown_versions and version settings to specify a different URL. e.g. I tried this out locally and it seems to work:
pants package --pex-cli-known-versions="['v2.33.2|macos_arm64|b6c035db294d9c84d72ec723c8bb31c9640e3a8603dbc48233352c1db1ccf5e8|4588594|file:///abs/path/to/pex']" --pex-cli-version="v2.33.2"
Figuring out the right thing to put in file:// might require a bit of trial and error, but I imagine you could use environment variable substitution to reference a file within the repo...
https://www.pantsbuild.org/stable/reference/subsystems/pex-cli#known_versionsprehistoric-lamp-13481
03/10/2025, 3:40 PMwide-midnight-78598
03/10/2025, 4:21 PMprehistoric-lamp-13481
03/10/2025, 4:29 PM