late-angle-88342
06/20/2024, 4:02 PMcurved-television-6568
06/20/2024, 4:04 PMfast-nail-55400
06/20/2024, 4:09 PMfast-nail-55400
06/20/2024, 4:09 PMfast-nail-55400
06/20/2024, 4:10 PMfast-nail-55400
06/20/2024, 4:11 PMcurl
/ wget
that URL in the error?late-angle-88342
06/20/2024, 4:25 PMwide-midnight-78598
06/20/2024, 5:16 PMbrew install
other things?
And as tdyas asked, can you curl
it?
Normally this would imply some sort of ssl error, which is generally outside the reach of uswide-midnight-78598
06/20/2024, 5:17 PMlate-angle-88342
06/24/2024, 1:02 PMbored-glass-58755
06/25/2024, 6:01 PMpants.toml
? Worth taking a look?wide-midnight-78598
06/25/2024, 6:07 PMbored-glass-58755
06/25/2024, 6:38 PMwide-midnight-78598
06/25/2024, 6:51 PMpants
works fine for me, but I have an ARM macbored-glass-58755
06/25/2024, 7:34 PMwide-midnight-78598
06/25/2024, 7:43 PMureq
- not sure if there is some other TLS stuff we should be doing
https://github.com/algesten/ureqbroad-processor-92400
06/25/2024, 8:00 PMget-pants.sh --version 0.11.0
or similar (script from https://www.pantsbuild.org/2.21/docs/getting-started/installing-pants)
• You can override the urls that scie-pants uses to find artefacts, if you have an internal artefact store https://github.com/pantsbuild/scie-pants?tab=readme-ov-file#firewall-support
I’ll have to look at the specific problem in more detail later, though.bored-glass-58755
06/25/2024, 9:11 PM.rb
file (linked in my message above) and then running brew install <location-of-downloaded-rb-file>
. That should be ok, right? Can we have a behavior where one could install thru brew install pants@version
?
Regarding overriding URLs for scie-pants
, that’s very useful to know. Thank you. However, the problem that we were facing was that pants was unable to download the pex
file to bootstrap. We were able to download the same file on the same computer and network thru requests.get()
. So, to me it looks like a pants issue and not certs or URL issue. Please correct me if that understanding is not right.bored-glass-58755
06/25/2024, 9:17 PMwide-midnight-78598
06/25/2024, 9:26 PMbored-glass-58755
06/25/2024, 9:28 PMwide-midnight-78598
06/25/2024, 9:29 PMbroad-processor-92400
06/25/2024, 11:11 PMHowever, the problem that we were facing was that pants was unable to download theGiven the error message is talking about a self signed certificate and failing, I imagine it’s something about the network setup the blocks the installer from validating the security of the connection when attempting to download thefile to bootstrappex
pex
file for bootstrapping.
Overriding these urls may mean that you can sidestep this connection issue by letting you fully control where they come from.broad-processor-92400
06/25/2024, 11:12 PMbroad-processor-92400
06/25/2024, 11:18 PMPANTS_PEX_GITHUB_RELEASE_VERSION
changing from 2.18.0.dev5
to 2.0.0.dev0
:
• scie-pants 0.11.0: Pants 2.16 installed from PyPI
• scie-pants 0.12.0: Pants 2.16 installed by downloading from GitHub releases
So, it seems something about downloading from GitHub releases doesn't work.broad-processor-92400
06/25/2024, 11:29 PMptex <https://github.com/pantsbuild/pants/releases/download/release_2.16.0/pants.2.16.0-cp39-darwin_x86_64.pex> > /dev/null
and see what happens
3. Assuming you can reproduce, do the normal debugging things like trying newer versions, search ptex's issue tracker, looking at the codewide-midnight-78598
06/26/2024, 12:16 AM• scie-pants 0.11.0: Pants 2.16 installed from PyPI
• scie-pants 0.12.0: Pants 2.16 installed by downloading from GitHub releases
Wow, good spot. I didn't see that at all.
broad-processor-92400
06/26/2024, 12:24 AMcurved-television-6568
06/26/2024, 6:05 AMbored-glass-58755
06/26/2024, 10:38 AMpex
file for bootstrapping.
> Overriding these urls may mean that you can sidestep this connection issue by letting you fully control where they come from.
Even though we were able to download the pex
from the same URL through Python requests from the same terminal window where pants
was failing? Just trying to understand the details. I am not aware what could be an alternate URL to download pex
to bootstrapbroad-processor-92400
06/26/2024, 10:40 AMbroad-processor-92400
06/26/2024, 10:42 AMbored-glass-58755
07/19/2024, 6:03 PM0.12.0
to 0.11.0
today to bootstrap.broad-processor-92400
07/19/2024, 10:57 PMbored-glass-58755
07/22/2024, 12:53 AMbroad-processor-92400
07/22/2024, 2:05 AM