I’m not able to run pants. It seems to be looking ...
# general
f
I’m not able to run pants. It seems to be looking for a release file that doesn’t exist It is looking for https://github.com/pantsbuild/pants/releases/download/release_2.29.1/pants.2.29.1-cp39-darwin_x86_64.pex when the file is https://github.com/pantsbuild/pants/releases/download/release_2.29.1/pants.2.29.1-cp311-darwin_x86_64.pex Is there something I need to change. I’ve tried rerunning get-pants.sh.
w
What are you running, specifically?
f
pants
Copy code
Wasn't able to fetch the Pants PEX at <https://github.com/pantsbuild/pants/releases/download/release_2.29.1/pants.2.29.1-cp39-darwin_x86_64.pex>.

Check to see if the URL is reachable (i.e. GitHub isn't down) and if pants.2.29.1-cp39-darwin_x86_64.pex asset exists within the release. If the asset doesn't exist it may be that this platform isn't yet supported. If that's the case, please reach out on Slack: <https://www.pantsbuild.org/docs/getting-help#slack> or file an issue on GitHub: <https://github.com/pantsbuild/pants/issues/new/choose>.

Exception:

Command '['/Users/bjkeller/Library/Caches/nce/f8c495272f3dfee9ff5c49854cf23e9de8b1f2d8474719fd06d5dc789a481f77/ptex-macos-x86_64', '<https://github.com/pantsbuild/pants/releases/download/release_2.29.1/pants.2.29.1-cp39-darwin_x86_64.pex']'> returned non-zero exit status 1.
w
Like, the scie-pants runner?
f
Yes, so
Copy code
bash get-pants.sh
pants
Also ran
curl --proto '=https' --tlsv1.2 -fsSL <https://static.pantsbuild.org/setup/get-pants.sh> | bash
incase my script was stale
the error has
cp39
vs
cp311
on releases
w
Hmm, that' strange. I use brew, so I haven't run that script. Your pants.toml is specified at 2.29.1 for the versionIm guessing
f
yes. I was at 2.27.0, but changed the patch to 1 after looking at releases. none of the releases from last week work for me. I don’t usually run pants directly in the OS, so maybe an environment issue
w
Copy code
PANTS_BOOTSTRAP_VERSION=report pants 
0.12.3
Can you run that
f
0.12.3 0.10.1
sorry 0.10.1
w
Okay, that's old. Try
Copy code
SCIE_BOOT=update pants
f
oh, yeah it say 2023
w
I just noted that the installation docs don't have the upgrade path 🤦
f
ah, the script is putting it in a different directory
w
Oh wait, they do, just buried a bit
f
Thanks. I see that the script is putting it in
~/.local/bin/pants
and my path has it as
~/bin/pants
Thank you for your indulgence!
w
👍